MediaWiki:Common.css: Difference between revisions

From Emmy The Robot Fandom Wiki
Content added Content deleted
No edit summary
No edit summary
 
Line 65: Line 65:
div#mw-related-navigation {
div#mw-related-navigation {
position: fixed; /* Change from static to fixed */
position: fixed; /* Change from static to fixed */
top: 50; /* Ensures it sticks to the top of the viewport */
top: 200; /* Ensures it sticks to the top of the viewport */
max-height: calc(100vh - 20px); /* Adjust max-height to accommodate the change */
max-height: calc(100vh - 200px); /* Adjust max-height to accommodate the change */
overflow-y: auto; /* Add a vertical scrollbar if needed */
overflow-y: auto; /* Add a vertical scrollbar if needed */
right: 0; /*right side */
right: 0; /*right side */