Skip to content

Commit

Permalink
♻️ mon-pix: fix button on campaign error page (prescription)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiaPena committed Nov 26, 2024
1 parent 919d1e8 commit 08cb5e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mon-pix/app/components/inaccessible-campaign.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
</div>
<div class="campaign-landing-page-error">
<h1 class="campaign-landing-page-error__title">{{yield}}</h1>
<LinkTo @route="authenticated" class="button button--extra-big button--link campaign-landing-page__error-button">
<PixButtonLink @route="authenticated" class="campaign-landing-page__error-button">
{{t "navigation.back-to-profile"}}
</LinkTo>
</PixButtonLink>
</div>
</div>
</div>
2 changes: 2 additions & 0 deletions mon-pix/app/styles/pages/_campaign-landing-page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,12 @@
&__title {
@extend %pix-title-xs;

margin-bottom: var(--pix-spacing-6x);
text-align: center;
}
}

.campaign-landing-page__error-button {
width: fit-content;
margin: auto;
}

0 comments on commit 08cb5e5

Please sign in to comment.