diff --git a/CHANGES b/CHANGES index aa8cefcbcc6..a8afe6b868c 100644 --- a/CHANGES +++ b/CHANGES @@ -80,6 +80,9 @@ Bugs fixed * #11473: Type annotations containing :py:data:`~typing.Literal` enumeration values now render correctly. Patch by Bénédikt Tran. +* #11594: HTML Theme: Enhancements to horizontal scrolling on smaller + devices in the ``agogo`` theme. + Patch by Lukas Engelter. Testing ------- diff --git a/sphinx/themes/agogo/static/agogo.css_t b/sphinx/themes/agogo/static/agogo.css_t index e41dfb8f0a5..48457b34ec7 100644 --- a/sphinx/themes/agogo/static/agogo.css_t +++ b/sphinx/themes/agogo/static/agogo.css_t @@ -19,6 +19,10 @@ body { line-height: 1.4em; color: black; background-color: {{ theme_bgcolor }}; + + /* fix for background colors breaking at horizontal + scrolling on smaller devices */ + min-width: fit-content; }