MediaWiki:Gadget-SidebarTOC.css: Difference between revisions

Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
.mw-table-of-contents-container {
.mw-table-of-contents-container {
    position: relative;
    float: right;
    width: 100%;
    height: 100%;
}
.vector-sticky-toc-container {
     position: absolute;
     position: absolute;
     top: 0;
     top: 0;
    bottom: 0;
    width: 15%; /* Adjust as needed */
    overflow: auto;
}
}



Revision as of 06:59, 22 February 2024

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

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