mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
PyAPI Docs: Fix "On this page" covering content
Sphinx CSS "hides" the _On this page_ pane by setting its `position` to `fixed` and `right` to `-15em`—this assumes it has a fixed `width` of `15em`, which it doesn't if it is overridden to `auto`.
Fixes #148347; caused by [45fee7d851][0], which also affects the 4.5 LTS docs.
[0]: 45fee7d851
Pull Request: https://projects.blender.org/blender/blender/pulls/148603
This commit is contained in:
parent
2c555a604a
commit
0e6ea19853
1 changed files with 6 additions and 3 deletions
|
|
@ -15,9 +15,12 @@ body {
|
|||
--color-api-name: #e87d0d;
|
||||
}
|
||||
|
||||
/* Increase the width of "On this page" region. */
|
||||
.main > .toc-drawer {
|
||||
width: auto;
|
||||
/* Increase the width of "On this page" region,
|
||||
* but not when it's being "hidden" by being pushed 15em off the right edge… */
|
||||
@media (width > 82em) {
|
||||
.toc-drawer {
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
h1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue