Skip to content

Commit 54b34df

Browse files
authored
Add CSS fix for issue where document outline overflows off the screen (#14)
1 parent e570295 commit 54b34df

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)