Skip to content

Commit 00a412e

Browse files
Make documentation tables line wrap
1 parent a9d89cd commit 00a412e

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

src/doc/_static/custom.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.wy-table-responsive table td, .wy-table-responsive table th {
2+
white-space: normal !important;
3+
}
4+
5+
.wy-table-responsive {
6+
overflow : visible !important;
7+
}
8+
9+
.wy-table-responsive table td, .wy-table-responsive table th {
10+
white-space: inherit;
11+
}

src/doc/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,3 +264,5 @@ def setup(app):
264264
# relative to this directory. They are copied after the builtin static files,
265265
# so a file named "default.css" will overwrite the builtin "default.css".
266266
html_static_path = ['_static']
267+
268+
html_css_files = ['custom.css']

0 commit comments

Comments
 (0)