MediaWiki:Common.css: Difference between revisions
From Emmy The Robot Fandom Wiki
Content added Content deleted
No edit summary |
No edit summary |
||
Line 55: | Line 55: | ||
} |
} |
||
#mw-site-navigation |
#mw-site-navigation, |
||
div#mw-related-navigation { |
|||
position: fixed; /* Change from static to fixed */ |
position: fixed; /* Change from static to fixed */ |
||
top: 0; /* Ensures it sticks to the top of the viewport */ |
top: 0; /* Ensures it sticks to the top of the viewport */ |
||
max-height: 100vh; /* Limit the maximum height to viewport height */ |
max-height: 100vh; /* Limit the maximum height to viewport height */ |
||
overflow-y: auto; /* Add a vertical scrollbar if needed */ |
|||
} |
} |
||