MediaWiki:Common.css: Difference between revisions
From Emmy The Robot Fandom Wiki
Content added Content deleted
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
#mw-content { |
#mw-content { |
||
margin-left: |
margin-left: 11%; /* Adjust this value to match the width of #mw-site-navigation */ |
||
margin-right: |
margin-right: 12.6%; /* Adjust this value to match the width of #mw-site-navigation */ |
||
} |
} |
||
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: |
top: 50; /* Ensures it sticks to the top of the viewport */ |
||
max-height: 100vh; /* |
max-height: calc(100vh - 20px); /* 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 */ |