MediaWiki:Gadget-SidebarTOC.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
.mw-table-of-contents-container {
position: -webkit-sticky;
position: sticky;
top: 20px; /* Adjust as needed */
height: calc(100vh - 20px); /* Adjust as needed */
overflow-y: auto;
}
.vector-sticky-toc-container {
padding: 10px; /* Adjust as needed */
background-color: #f8f9fa; /* Adjust as needed */
border: 1px solid #c8ccd1; /* Adjust as needed */
}