Skip to content

add custom css to fix image deformation #791

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions _static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
div.cell_output img {
height: auto !important;
}
1 change: 1 addition & 0 deletions examples/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def setup(app: Sphinx):
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["../_static"]
html_css_files = ["custom.css"]
html_extra_path = ["../_thumbnails", "robots.txt"]
templates_path = ["../_templates"]
html_sidebars = {
Expand Down
4 changes: 2 additions & 2 deletions requirements-docs.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
ablog>=0.11
matplotlib
myst-nb<=1.0.0
myst-nb
sphinx-codeautolink
sphinx>=5
pymc-sphinx-theme==0.14
pymc-sphinx-theme
sphinx-copybutton
sphinx-design
sphinx-notfound-page
Expand Down