aboutsummaryrefslogtreecommitdiff
path: root/ext/mixed/css/display.css
diff options
context:
space:
mode:
authortoasted-nutbread <toasted-nutbread@users.noreply.github.com>2021-01-10 16:48:31 -0500
committerGitHub <noreply@github.com>2021-01-10 16:48:31 -0500
commit7f07b905abc42c10b8b71a06a60561bc169e851a (patch)
tree907782b91ddbab2328073b6325f553cfbcc16ab7 /ext/mixed/css/display.css
parent1614335bb005ee1b9df4c6f63725bc505dfb4588 (diff)
Update how navigation sidebar visibility is controlled (#1221)
Diffstat (limited to 'ext/mixed/css/display.css')
-rw-r--r--ext/mixed/css/display.css7
1 files changed, 2 insertions, 5 deletions
diff --git a/ext/mixed/css/display.css b/ext/mixed/css/display.css
index 6bea1ad2..a7c3e368 100644
--- a/ext/mixed/css/display.css
+++ b/ext/mixed/css/display.css
@@ -382,13 +382,10 @@ a {
background-color: var(--sidebar-background-color);
z-index: 10;
position: relative;
- display: block;
-}
-.content-sidebar[hidden] {
display: none;
}
-.content-sidebar[hidden][data-has-navigation-previous=true],
-.content-sidebar[hidden][data-has-navigation-next=true],
+:root[data-has-navigation-previous=true] .content-sidebar,
+:root[data-has-navigation-next=true] .content-sidebar,
:root[data-popup-action-bar-visibility=always] .content-sidebar,
:root[data-profile-panel-visible=true] .content-sidebar {
display: block;