Skip to content

Commit 348c4d2

Browse files
committed
docs: fixup css so jupyterlite uses desktop layout
1 parent 82e7281 commit 348c4d2

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

docs/extra.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
/*
3+
Override mkdocs-material's max-width for the content so the notebooks
4+
are wide enough that JupyterLite uses the desktop layout.
5+
6+
See https://github.com/NickCrews/mkdocs-jupyterlite/blob/0394a4ab41f402b977b2e762bf1b402f84460ddf/docs/extra.css
7+
*/
8+
.md-main__inner.md-grid {
9+
max-width: 70rem;
10+
}

mkdocs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ theme:
1717
- search.highlight
1818
- search.share
1919
- search.suggest
20+
extra_css:
21+
- extra.css
2022
plugins:
2123
- git-revision-date-localized
2224
- literate-nav

0 commit comments

Comments
 (0)