Fix text wrapping in tables (#131)

pull/132/head
Michael Steenbeek 5 years ago committed by Ad Schellevis
parent 34b6ac99a1
commit 98101f1ac5

@ -0,0 +1,13 @@
/* override table width restrictions */
@media screen and (min-width: 767px) {
.wy-table-responsive table td {
/* !important prevents the common CSS stylesheets from overriding
this as on RTD they are loaded after this stylesheet */
white-space: normal !important;
}
.wy-table-responsive {
overflow: visible !important;
}
}

@ -164,6 +164,12 @@ html_favicon = '_static/favicon.ico'
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_context = {
'css_files': [
'_static/css/theme-overrides.css', # override wide tables in RTD theme
]
}
# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
# directly to the root of the documentation.

Loading…
Cancel
Save