Skip to content

Commit fa2b5b6

Browse files
committed
fix toc z-index regression in #1736
1 parent 63c63e8 commit fa2b5b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/style/layout.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ body {
2727
top: 0;
2828
left: calc(max(0rem, (100vw - var(--observablehq-max-width)) / 2) + var(--observablehq-inset-left) + 2rem);
2929
right: calc(max(0rem, (100vw - var(--observablehq-max-width)) / 2) + var(--observablehq-inset-right) + 2rem);
30-
z-index: 1;
30+
z-index: 2;
3131
display: flex;
3232
align-items: center;
3333
gap: 0.5rem;
@@ -296,6 +296,7 @@ body {
296296
position: fixed;
297297
color: var(--theme-foreground-muted);
298298
font: 400 14px var(--sans-serif);
299+
z-index: 1;
299300
top: 0;
300301
right: calc(max(0rem, (100% - var(--observablehq-max-width)) / 2) + 1rem);
301302
bottom: 0;

0 commit comments

Comments
 (0)