Skip to content

Commit

Permalink
ktl-1766 fix: another approach
Browse files Browse the repository at this point in the history
  • Loading branch information
krutilov authored and berezinant committed Nov 28, 2024
1 parent d248488 commit aed9d3a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,6 @@
}
}

@media (width <= $breakpoint-tablet-max) {
li.dropdown--option:first-of-type {
margin-top: 12px;
}
}

&--overlay {
position: absolute;
z-index: 4;
Expand Down Expand Up @@ -210,5 +204,11 @@
@media (width >= $breakpoint-desktop-min) {
display: none;
}

@media (width <= $breakpoint-tablet-max) {
& + :not(.sidebar--inner) {
margin-top: 12px;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -511,11 +511,6 @@
text-transform: uppercase;
}

@media (max-width: 899px) {
.dropdown li.dropdown--option:first-of-type {
margin-top: 12px;
}
}
.dropdown--overlay {
background-color: hsla(0, 0%, 54%, 0.5);
bottom: 0;
Expand Down Expand Up @@ -561,6 +556,11 @@
display: none;
}
}
@media (max-width: 899px) {
.dropdown--header + :not(.sidebar--inner) {
margin-top: 12px;
}
}
:root {
--breakpoint-desktop-min:900px;
--breakpoint-tablet-max:899px;
Expand Down
Loading

0 comments on commit aed9d3a

Please sign in to comment.