mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix layout issues in the agogo theme for smaller viewports (#11594)
Co-authored-by: Lukas Engelter <lukas.engelter@netgo.de>
This commit is contained in:
parent
4ddbee4a7c
commit
4dee162990
3
CHANGES
3
CHANGES
@ -88,6 +88,9 @@ Bugs fixed
|
|||||||
Patch by Bénédikt Tran.
|
Patch by Bénédikt Tran.
|
||||||
* #11591: Fix support for C coverage in ``sphinx.ext.coverage`` extension.
|
* #11591: Fix support for C coverage in ``sphinx.ext.coverage`` extension.
|
||||||
Patch by Stephen Finucane.
|
Patch by Stephen Finucane.
|
||||||
|
* #11594: HTML Theme: Enhancements to horizontal scrolling on smaller
|
||||||
|
devices in the ``agogo`` theme.
|
||||||
|
Patch by Lukas Engelter.
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
-------
|
-------
|
||||||
|
@ -19,6 +19,10 @@ body {
|
|||||||
line-height: 1.4em;
|
line-height: 1.4em;
|
||||||
color: black;
|
color: black;
|
||||||
background-color: {{ theme_bgcolor }};
|
background-color: {{ theme_bgcolor }};
|
||||||
|
|
||||||
|
/* fix for background colors breaking at horizontal
|
||||||
|
scrolling on smaller devices */
|
||||||
|
min-width: fit-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -131,8 +135,7 @@ dt:target, .highlighted {
|
|||||||
/* Header */
|
/* Header */
|
||||||
|
|
||||||
div.header {
|
div.header {
|
||||||
padding-top: 10px;
|
padding: 1em;
|
||||||
padding-bottom: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div.header .headertitle {
|
div.header .headertitle {
|
||||||
@ -169,8 +172,7 @@ img.logo {
|
|||||||
/* Content */
|
/* Content */
|
||||||
div.content-wrapper {
|
div.content-wrapper {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
padding-top: 20px;
|
padding: 1em;
|
||||||
padding-bottom: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
div.document {
|
div.document {
|
||||||
|
Loading…
Reference in New Issue
Block a user