Skip to content

Commit

Permalink
fix(auth-container): always show login/signup in row (#10125)
Browse files Browse the repository at this point in the history
* fix(auth-container): always show login/signup in row

* fixup! fix(auth-container): always show login/signup in row

* fix(auth-container): increase margin-bottom in mobile menu
  • Loading branch information
caugner committed Dec 8, 2023
1 parent abaa08d commit 233bed6
Showing 1 changed file with 11 additions and 17 deletions.
28 changes: 11 additions & 17 deletions client/src/ui/molecules/auth-container/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,27 @@

.auth-container {
display: flex;
flex-flow: column-reverse;
flex-shrink: 0;
flex-wrap: nowrap;
font-family: var(--font-body);
font-size: var(--type-smaller-font-size);
font-weight: var(--font-body-strong-weight);
gap: 0.5rem;
gap: 1rem;
list-style: none;
margin-bottom: 0.5rem;
padding: 0;
text-align: center;

li {
flex-shrink: 0;
}
}

@media screen and (min-width: $screen-lg) {
align-items: center;
flex-flow: row;
gap: 1rem;
justify-content: flex-end;
margin: 0;
text-align: initial;
width: min-content;
}

// override to fix layout in English.
@media screen and (min-width: 820px) {
width: unset;
.top-navigation-main {
.auth-container {
@media screen and (max-width: #{$screen-lg - 1}) {
align-items: center;
justify-content: center;
margin-bottom: 1rem;
text-align: center;
}
}
}

0 comments on commit 233bed6

Please sign in to comment.