Skip to content

Commit efa9a52

Browse files
committed
Add CSS fix for issue where document outline overflows off the screen
See: <jupyter-book/myst-theme#665>
1 parent e5fe0ff commit efa9a52

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

assets/styles/style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
body {
22
font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
33
}
4+
5+
/* Fix document outline in the right sidebar from overflowing off the page.
6+
*
7+
* See: <https://github.com/jupyter-book/myst-theme/pull/665>
8+
*/
9+
[aria-label="Document Outline"] {
10+
max-height: calc(100vh - 100px) !important;
11+
}

0 commit comments

Comments
 (0)