Set maximum height of sticky sidebars
This commit is contained in:
parent
f719fae18e
commit
c3eebff94d
|
@ -21,7 +21,8 @@
|
|||
|
||||
.shrine__info {
|
||||
padding: 1rem;
|
||||
overflow: auto;
|
||||
max-height: var(--ht-sticky-sidebar);
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.shrine__info h2 {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
{%- css %}
|
||||
.toc__wrapper {
|
||||
max-height: 89vh;
|
||||
max-height: var(--ht-sticky-sidebar);
|
||||
overflow-x: auto;
|
||||
background-color: var(--clr-content-bg);
|
||||
padding: 1rem 1.3rem;
|
||||
|
|
|
@ -48,6 +48,8 @@
|
|||
--sz-navbar-ht: 4rem;
|
||||
--sz-external-link: 1.25em;
|
||||
--sz-content-list-gap: 0.7em;
|
||||
|
||||
--ht-sticky-sidebar: 89vh;
|
||||
}
|
||||
|
||||
/* ------------------- */
|
||||
|
|
Loading…
Reference in New Issue