1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 14:31:46 +00:00

fix readthedocs table width

This commit is contained in:
deadc0de6
2021-11-27 11:28:27 +01:00
parent 8c97593c45
commit e16cca02bb
2 changed files with 20 additions and 0 deletions

18
docs/css/extra.css Normal file
View File

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

View File

@@ -24,4 +24,6 @@ markdown_extensions:
- fenced_code - fenced_code
- toc: - toc:
permalink: True permalink: True
extra_css:
- css/extra.css