mirror of https://github.com/locustio/locust.git
Make it possible to have multiline table cells in docs by adding som override CSS
This commit is contained in:
parent
59b0373a64
commit
ada1ffac6d
|
@ -0,0 +1,9 @@
|
|||
/* Make it possible to have multiline table cells by removing white-space:nowrap */
|
||||
.wy-table-responsive table td, .wy-table-responsive table th {
|
||||
white-space: normal;
|
||||
}
|
||||
.wy-table-responsive {
|
||||
margin-bottom: 24px;
|
||||
max-width: 100%;
|
||||
overflow: visible;
|
||||
}
|
|
@ -101,6 +101,14 @@ if not on_rtd: # only import and set the theme if we're building docs locally
|
|||
html_theme = 'sphinx_rtd_theme'
|
||||
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
||||
|
||||
|
||||
# Custom CSS overrides
|
||||
html_static_path = ["_static"]
|
||||
html_context = {
|
||||
"css_files": ["_static/theme-overrides.css"],
|
||||
}
|
||||
|
||||
|
||||
# HTML theme
|
||||
#html_theme = "haiku"
|
||||
|
||||
|
|
Loading…
Reference in New Issue