MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 55:
}
 
#mw-site-navigation {,
div#mw-related-navigation {
position: fixed; /* Change from static to fixed */
top: 0; /* Ensures it sticks to the top of the viewport */
max-height: 100vh; /* Limit the maximum height to viewport height */
overflow-y: auto; /* Add a vertical scrollbar if needed */
}