Skip to content

Commit

Permalink
Docs: allow horizontal scrolling of wide tables (#1958)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjstewart authored Apr 4, 2024
1 parent ea57469 commit 8d2e2b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions docs/_static/table-scroll.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
table {
border-collapse: collapse;
display: block;
overflow-x: auto;
}
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
html_favicon = os.path.join("..", "logo", "favicon.ico")

html_static_path = ["_static"]
html_css_files = ["button-width.css", "notebook-prompt.css"]
html_css_files = ["button-width.css", "notebook-prompt.css", "table-scroll.css"]

# -- Extension configuration -------------------------------------------------

Expand Down

0 comments on commit 8d2e2b5

Please sign in to comment.