From d529eb4fc75582989a6a629848ca2893a41b029f Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Wed, 29 Nov 2023 06:32:15 -0800 Subject: [PATCH] re-fix sidebar backdrop --- public/style.css | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/public/style.css b/public/style.css index bf90d56e0..8b85453ab 100644 --- a/public/style.css +++ b/public/style.css @@ -332,7 +332,7 @@ a[href], #observablehq-sidebar-toggle:indeterminate::before { content: "⟨"; } - #observablehq-sidebar-backdrop { + #observablehq-sidebar-toggle:checked ~ #observablehq-sidebar-backdrop { display: none; } #observablehq-sidebar-toggle:checked ~ #observablehq-sidebar, @@ -345,9 +345,6 @@ a[href], padding-left: calc(240px + 3rem); padding-right: 1rem; } - #observablehq-sidebar-toggle:checked ~ #observablehq-sidebar-backdrop { - display: none; - } pre { border-radius: 4px; }