Commit 7f85ef6
committed
Hide embedded TOC as soon as the sidebar TOC appears
Before: .toc.sidebar was revealed at lg (1024px) but .toc.embedded
only hid at xl (1280px), so the 1024-1279px window and wide Safari
windows on slightly-narrower-than-full-screen layouts showed both
TOCs at once (once inline at the top of the article, once as the
right-hand sidebar).
Switch .toc.embedded to lg:hidden so the embedded copy disappears the
moment the sidebar is available. On screens below 1024px the embedded
TOC keeps acting as the mobile fallback, the sidebar stays hidden.1 parent cc14f17 commit 7f85ef6
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
532 | | - | |
| 532 | + | |
533 | 533 | | |
534 | 534 | | |
535 | 535 | | |
| |||
0 commit comments