Update navigation header style on search page

This commit is contained in:
toasted-nutbread 2019-12-28 16:07:03 -05:00
parent 7686e56c00
commit dccc60562a

View File

@ -81,11 +81,15 @@ ol, ul {
border-bottom-style: solid;
}
html:root[data-yomichan-page=search] .navigation-header {
position: sticky;
}
html:root[data-yomichan-page=float] .navigation-header {
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;
}