Skip to content

Commit

Permalink
Override default CSS to wrap text inside tables
Browse files Browse the repository at this point in the history
  • Loading branch information
aputtu committed Apr 4, 2024
1 parent cde906e commit 88d2ca9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/source/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.rst-content table.docutils td, .rst-content table.docutils th, .rst-content table.field-list td,
.rst-content table.field-list th, .wy-table td, .wy-table th {
text-wrap: wrap;
}
1 change: 1 addition & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@
# 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 = ['css/custom.css']

0 comments on commit 88d2ca9

Please sign in to comment.