Update navigation header style on search page
This commit is contained in:
parent
7686e56c00
commit
dccc60562a
@ -81,11 +81,15 @@ ol, ul {
|
|||||||
border-bottom-style: solid;
|
border-bottom-style: solid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html:root[data-yomichan-page=search] .navigation-header {
|
||||||
|
position: sticky;
|
||||||
|
}
|
||||||
|
|
||||||
html:root[data-yomichan-page=float] .navigation-header {
|
html:root[data-yomichan-page=float] .navigation-header {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navigation-header:not([hidden])~.navigation-header-spacer {
|
html:root[data-yomichan-page=float] .navigation-header:not([hidden])~.navigation-header-spacer {
|
||||||
height: 2.1em;
|
height: 2.1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user