Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/axios-1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kennylam committed Jun 3, 2024
2 parents 38b6e04 + 365c9b6 commit e7558a9
Show file tree
Hide file tree
Showing 7 changed files with 805 additions and 816 deletions.
18 changes: 18 additions & 0 deletions packages/styles/scss/components/masthead/_masthead-l1.scss
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,27 @@ $search-transition-timing: 95ms;
}

.#{$prefix}--masthead__l1-dropdown {
position: absolute;
background-color: $background;
color: $text-secondary;
inset-block-start: 100%;
inset-inline: 0;

&.is-open {
box-shadow: 0 2px 6px 0 $shadow;
}

&:not(.is-open) {
display: none;
}

&:last-child {
> a,
> button {
border-block-end: initial;
}
}

// Height of viewport, minus the L0/L1 combo, minus additional space to match L0 megapanels
max-block-size: calc(100vh - 98px - #{$spacing-10} - #{$spacing-09});
overflow-y: auto;
Expand Down Expand Up @@ -343,6 +360,7 @@ $search-transition-timing: 95ms;
@include type-style(body-short-01);

background-color: $background-brand;
border-block-end: initial;
color: $layer-02;

svg {
Expand Down
Loading

0 comments on commit e7558a9

Please sign in to comment.