mirror of
https://github.com/Damillora/Shian.git
synced 2024-12-22 21:23:46 +00:00
fix(shian): make search toggles not conflict with menu toggles
This commit is contained in:
parent
78c1bd6421
commit
62ab8aa6ba
@ -37,16 +37,19 @@
|
||||
&__nav-main {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
overflow-y: hidden;
|
||||
@include transition;
|
||||
|
||||
@include screen(md) {
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
&.hidden {
|
||||
display: none;
|
||||
height: 0;
|
||||
|
||||
@include screen(md) {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -132,11 +132,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
#darkMode {
|
||||
.menu__text {
|
||||
display: block;
|
||||
@include screen(md) {
|
||||
display: none;
|
||||
}
|
||||
.site-header {
|
||||
&.search-enabled {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
&.search-enabled &__inner {
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
&.search-detached &__inner {
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user