MediaWiki:Gadget-StickySidebar.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-panel {
position: fixed;
left: auto;
bottom: 0px !important;
border-bottom-left-radius: 0px !important;
overflow: auto;
scrollbar-width: thin;
max-height: 100vh; /* Ensure the panel does not exceed the viewport height */
}
#sidepic {
position: fixed !important;
top: 50%;
right: 10px;
height: 0px;
}
.vector-menu-content {
max-height: calc(100vh - 50px); /* Adjust the height to ensure it fits within the viewport */
overflow-y: auto; /* Enable vertical scrolling if content overflows */
}