2
0
mirror of https://github.com/opnsense/docs synced 2024-10-30 21:20:20 +00:00

Fix text wrapping in tables (#131)

This commit is contained in:
Michael Steenbeek 2019-02-08 09:10:35 +01:00 committed by Ad Schellevis
parent 34b6ac99a1
commit 98101f1ac5
2 changed files with 19 additions and 0 deletions

View File

@ -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;
}
}

View File

@ -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.