Skip to content

Commit

Permalink
add overflow-y: hidden to mathjax containers (#675)
Browse files Browse the repository at this point in the history
* add overflow-y: hidden to mathjax containers

* [autofix.ci] apply automated fixes

---------

Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
  • Loading branch information
thehappycheese and autofix-ci[bot] authored Mar 28, 2024
1 parent 7b07452 commit 2d58854
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

- Support type-hints from stub-only packages. E.g: `scipy-stubs`
([#671](https://github.com/mitmproxy/pdoc/pull/671), @erikdesmedt)
- Modify css styles for MathJax to remove unnessesary scroll bars
([#675](https://github.com/mitmproxy/pdoc/pull/675), @thehappycheese)

## 2024-01-18: pdoc 14.4.0

Expand Down
1 change: 1 addition & 0 deletions pdoc/templates/math.html.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@
<style>
mjx-container {
overflow-x: auto;
overflow-y: hidden;
}
</style>
1 change: 1 addition & 0 deletions test/testdata/math_demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<style>
mjx-container {
overflow-x: auto;
overflow-y: hidden;
}
</style></head>
<body>
Expand Down
1 change: 1 addition & 0 deletions test/testdata/math_misc.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<style>
mjx-container {
overflow-x: auto;
overflow-y: hidden;
}
</style></head>
<body>
Expand Down

0 comments on commit 2d58854

Please sign in to comment.