Skip to content

Commit d9258b2

Browse files
committed
added overflow protection
1 parent 559564a commit d9258b2

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

docs/css/nbmods.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
/*
2+
Hide cell output overflow
3+
4+
Taken from: https://github.com/greenape/mknotebooks/issues/12
5+
*/
6+
.output pre {
7+
overflow: auto;
8+
}

mkdocs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ markdown_extensions:
2828
- markdown.extensions.attr_list
2929

3030
extra_javascript:
31-
- https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML
31+
- https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=TeX-AMS-MML_HTMLorMML
32+
extra_css:
33+
- css/nbmods.css
3234

3335
repo_name: 'ericmjl/bayesian-analysis-recipes'
3436
repo_url: 'https://github.com/ericmjl/bayesian-analysis-recipes'

0 commit comments

Comments
 (0)