mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-27 17:37:45 +01:00
Make Table of Contents scrollable (#1696)
Inspired by https://stackoverflow.com/a/57040610/1283519, this change makes the Table of Contents scrollable (the menu as seen on on the left side in a non-mobile browser). Fixes https://github.com/esphome/issues/issues/2088.
This commit is contained in:
parent
641e7dcafc
commit
a2067b5286
@ -13,6 +13,11 @@ div.body {
|
|||||||
min-width: initial;
|
min-width: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.sphinxsidebar {
|
||||||
|
max-height: 100%;
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
|
|
||||||
img.component-image {
|
img.component-image {
|
||||||
border: none;
|
border: none;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
Loading…
Reference in New Issue
Block a user