MediaWiki:Gadget-SidebarTOC.css: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 4: Line 4:
     bottom: 0;
     bottom: 0;
     width: 15%; /* Adjust as needed */
     width: 15%; /* Adjust as needed */
     overflow: auto;
     overflow: hidden;
}
}


.vector-sticky-toc-container.sticky {
.vector-sticky-toc-container {
     position: absolute;
     position: absolute;
     top: 0;
     top: 0;
}
}

Revision as of 07:06, 22 February 2024

.mw-table-of-contents-container {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 15%; /* Adjust as needed */
    overflow: hidden;
}

.vector-sticky-toc-container {
    position: absolute;
    top: 0;
}