diff --git a/docs/css/extra.css b/docs/css/extra.css new file mode 100644 index 0000000..023bc68 --- /dev/null +++ b/docs/css/extra.css @@ -0,0 +1,18 @@ +/* + * from https://github.com/readthedocs/sphinx_rtd_theme/issues/117#issuecomment-153083280 + */ + +/* 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; + } + +} diff --git a/mkdocs.yml b/mkdocs.yml index 0850f71..b05fb4e 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -24,4 +24,6 @@ markdown_extensions: - fenced_code - toc: permalink: True +extra_css: + - css/extra.css