Don't move node off center if no TOC is shown.
This commit is contained in:
parent
210a508a90
commit
ce2ca99ebc
2 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue