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; }