Skip to content

Commit

Permalink
✨ certif: align titles with navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiaPena committed Dec 17, 2024
1 parent 1bc8716 commit 5c14efc
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 12 deletions.
2 changes: 1 addition & 1 deletion certif/app/components/team/invite-form.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
@id="email"
type="email"
@value={{@email}}
class="invite-form__email-field"
aria-required="true"
required="required"
{{on "change" @onUpdateEmail}}
rows="3"
>
<:label>{{t "pages.team-invite.input-label"}}</:label>
</PixTextarea>
Expand Down
14 changes: 13 additions & 1 deletion certif/app/styles/components/layout/banners.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
.banners {
margin-bottom: var(--pix-spacing-6x);
margin-bottom: 0;

&:first-child {
margin-top: var(--pix-spacing-6x);
}

@include device-is('tablet') {
margin-bottom: var(--pix-spacing-6x);

&:first-child {
margin-top: 0;
}
}
}
1 change: 1 addition & 0 deletions certif/app/styles/components/login-or-register.scss
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@
}

&__title {
margin-top: var(--pix-spacing-6x);
text-align: center;
}
}
1 change: 1 addition & 0 deletions certif/app/styles/globals/texts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@

.previous-button {
width: fit-content;
margin-bottom: var(--pix-spacing-6x);

@extend %pix-body-s;
}
7 changes: 6 additions & 1 deletion certif/app/styles/globals/titles.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
.page-title {
@extend %pix-title-m;

margin: 24px 0;
margin-top: var(--pix-spacing-6x);
margin-bottom: var(--pix-spacing-6x);

@include device-is('tablet') {
margin-top: 0;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
.session-details__header {
display: flex;
flex-wrap: wrap;
align-items: center;
align-items: flex-start;
justify-content: space-between;
margin-bottom: var(--pix-spacing-3x);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
margin-bottom: var(--pix-spacing-3x);

@include device-is('tablet') {
align-items: center;
flex-direction: row;
margin-bottom: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion certif/app/styles/pages/authenticated/team.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
display: flex;
width: 100%;
justify-content: space-between;
align-items:center;
align-items: flex-start;
}
&__header-admin-buttons {
display: flex;
Expand Down
6 changes: 0 additions & 6 deletions certif/app/styles/pages/authenticated/team/invite.scss
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
.team-invite-page {
@extend %pix-body-s;

margin-top: var(--pix-spacing-4x);

&__form {
margin-top: var(--pix-spacing-8x);
}
}

.invite-form__email-field {
min-height: 70px;
}

0 comments on commit 5c14efc

Please sign in to comment.