Don't move node off center if no TOC is shown.

This commit is contained in:
Sergio Martínez Portela 2023-05-14 21:06:08 +02:00
parent 210a508a90
commit ce2ca99ebc
2 changed files with 5 additions and 3 deletions

View file

@ -482,10 +482,10 @@ tr.__table-separator {
/* Side-to-side */
@media (min-width: 120ex) {
body {
body:not(.no-toc) {
margin: 0;
}
.global-table-of-contents {
body:not(.no-toc) .global-table-of-contents {
position: fixed;
right: 1ex;
max-width: calc(100vw - 85ex);