Skip to content

Commit

Permalink
login is aligned with nav links when language & country unselected (#…
Browse files Browse the repository at this point in the history
…2743)

* login is now aligned with nav links when language and country selectors are unselected

* fixed alignment on account & social icons

* applied feedback

* changed utlitility links to be 3rem vs 2rem +1rem from margin-left padding

* implemented hanges from code review
  • Loading branch information
lougoncharenko authored Jun 29, 2023
1 parent 96224e4 commit 1598559
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions assets/component-menu-drawer.css
Original file line number Diff line number Diff line change
Expand Up @@ -217,13 +217,13 @@ details[open].menu-opening > .menu-drawer__submenu {

@media screen and (max-width: 749px) {
.header--has-account:where(:not(.header--has-social):not(.header--has-localizations)) .menu-drawer__utility-links {
padding: 2rem;
padding: 2rem 3rem;
}
}

@media screen and (max-width: 989px) {
.header--has-localizations:where(:not(.header--has-social)) .menu-drawer__utility-links {
padding: 3rem;
padding: 2rem 3rem;
}
}

Expand All @@ -237,7 +237,6 @@ details[open].menu-opening > .menu-drawer__submenu {
margin-bottom: 0;
}

.menu-drawer__utility-links:has(ul:empty) .menu-drawer__account,
.menu-drawer__utility-links:has(.menu-drawer__localization) .menu-drawer__account {
margin: 0;
}
Expand Down

0 comments on commit 1598559

Please sign in to comment.