Skip to content

Commit

Permalink
fix(cxl-ui): cxl-marketing-nav menu bar button alignment on desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
anoblet committed Dec 17, 2024
1 parent 2889eb2 commit 486116c
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions packages/cxl-ui/scss/cxl-marketing-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@
}

::part(overflow-button) {
padding-right: 0;
margin-right: 0;
margin-left: auto;

&::before {
background-color: unset;
}
}

nav {
Expand All @@ -22,7 +28,7 @@
width: 100%;
max-width: 100vw;
min-height: var(--cxl-marketing-nav-min-height, 44px);
padding: 0 var(--lumo-space-m);
padding: 0 var(--cxl-wrap-padding, none);
overflow: hidden;

&:not([wide]) {
Expand All @@ -33,20 +39,10 @@
.container {
justify-content: space-between;

.cxl-logo{
margin-left: 0;
padding-left: 0;
}

.search-button {
width: 140px;
color: var(--lumo-shade);
}

vaadin-menu-bar::part(overflow-button) {
margin-right: 0;
padding-right: 0;
}
}
}

Expand All @@ -59,6 +55,8 @@
/* stylelint-disable-next-line selector-no-qualifying-type */
vaadin-menu-bar-button.cxl-logo {
min-width: auto;
padding-left: 0;
margin-left: 0;
}
}

Expand All @@ -83,7 +81,8 @@
}

/* stylelint-disable-next-line selector-no-qualifying-type */
&#menu-global-items, &#menu-primary-items {
&#menu-global-items,
&#menu-primary-items {
background-color: var(--lumo-base-color);
border-bottom: 1px solid var(--lumo-shade-5pct);
}
Expand Down

0 comments on commit 486116c

Please sign in to comment.