Show TOC on the left side.

This commit is contained in:
Sergio Martínez Portela 2023-05-14 21:06:27 +02:00
parent ce2ca99ebc
commit 0e56cfbe10

View File

@ -484,11 +484,15 @@ tr.__table-separator {
@media (min-width: 120ex) { @media (min-width: 120ex) {
body:not(.no-toc) { body:not(.no-toc) {
margin: 0; margin: 0;
max-width: none;
}
body:not(.no-toc) > .node {
margin-left: 25rem;
} }
body:not(.no-toc) .global-table-of-contents { body:not(.no-toc) .global-table-of-contents {
position: fixed; position: fixed;
right: 1ex; left: 1ex;
max-width: calc(100vw - 85ex); max-width: 25rem;
top: 1ex; top: 1ex;
overflow: auto; overflow: auto;
max-height: 100vh; max-height: 100vh;