This commit is contained in:
Daniel Woste 2024-11-27 23:41:49 +00:00 committed by GitHub
commit 92250b2ee0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 16 additions and 2 deletions

View File

@ -319,6 +319,7 @@ Fixes
* Fix ``<pre>`` overflow (#1220)
* Fix literal/ref style inside ``<dl>`` (#1088)
Other Changes
-------------

View File

@ -264,3 +264,16 @@ To release a new version of the theme, core team will take the following steps:
.. _PEP440: https://www.python.org/dev/peps/pep-0440/
.. _semantic versioning: http://semver.org/
Table handling
==============
The theme wraps tables into a ``div.wy-table-responsive`` container, to easily make tables responsive.
If this behavior is not needed for some specific tables, the class name ``rtd-exclude-wy-table`` must be set
for the table. This may be important especially for other Sphinx extensions, which create and configure tables
for their use case on their own.

File diff suppressed because one or more lines are too long

View File

@ -100,7 +100,7 @@ function ThemeNav () {
})
// Make tables responsive
$("table.docutils:not(.field-list,.footnote,.citation)")
$("table.docutils:not(.field-list,.footnote,.citation,.rtd-exclude-wy-table)")
.wrap("<div class='wy-table-responsive'></div>");
// Add extra class to responsive tables that contain