summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2019-12-28 16:07:03 -0500
committertoasted-nutbread <toasted-nutbread@users.noreply.github.com>2020-01-16 22:39:26 -0500
commitdccc60562aec6a538fadacdfc87e3b5e94cc3621 (patch)
treeb03b465bce68256a530ec249ba24eb1db7093a40
parent7686e56c00c724ad6f9e133134787e2cd083b062 (diff)
Update navigation header style on search page
-rw-r--r--ext/mixed/css/display.css6
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css
index b9215af4..325cc8e7 100644
--- a/ext/mixed/css/display.css
+++ b/ext/mixed/css/display.css
@@ -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;
}