MediaWiki:Common.css: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 55:
}
#mw-site-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 */
}
div#mw-related-navigation {
position: fixed; /* Change from static to fixed */
Line 61 ⟶ 67:
max-height: 100vh; /* Limit the maximum height to viewport height */
overflow-y: auto; /* Add a vertical scrollbar if needed */
right 0; /*right side */
}
|