Wrap text in tables in docs.
This commit is contained in:
parent
1c67d3ea2f
commit
3cad91b5f1
14
doc/source/_static/custom.css
Normal file
14
doc/source/_static/custom.css
Normal file
@ -0,0 +1,14 @@
|
||||
/* Customizations to the theme */
|
||||
|
||||
/* override table width restrictions */
|
||||
/* https://github.com/readthedocs/sphinx_rtd_theme/issues/117 */
|
||||
@media screen and (min-width: 768px) {
|
||||
.wy-table-responsive table td, .wy-table-responsive table th {
|
||||
white-space: normal !important;
|
||||
}
|
||||
|
||||
.wy-table-responsive {
|
||||
overflow: visible !important;
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
@ -131,7 +131,11 @@ html_theme = 'sphinx_rtd_theme'
|
||||
# Add any paths that contain custom static files (such as style sheets) here,
|
||||
# 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_static_path = ['_static']
|
||||
|
||||
# add the theme customizations
|
||||
def setup(app):
|
||||
app.add_stylesheet("custom.css")
|
||||
|
||||
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
|
||||
# using the given strftime format.
|
||||
|
Loading…
Reference in New Issue
Block a user