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:
parent
34b6ac99a1
commit
98101f1ac5
13
source/_static/css/theme-overrides.css
Normal file
13
source/_static/css/theme-overrides.css
Normal 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;
|
||||
}
|
||||
}
|
@ -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…
Reference in New Issue
Block a user