User:Iritscen/vector.css: Difference between revisions
(OK, turns out that the div name is different in Vector; here's what WP recommends) |
mNo edit summary |
||
| Line 4: | Line 4: | ||
position: fixed; | position: fixed; | ||
overflow: auto; | overflow: auto; | ||
top: | top: 50px; | ||
bottom: 0px; | bottom: 0px; | ||
height: 100%; | height: 100%; | ||
Revision as of 15:05, 5 May 2012
/* Fix the sidebar in place when scrolling */
div#mw-panel
{
position: fixed;
overflow: auto;
top: 50px;
bottom: 0px;
height: 100%;
/* Prevent content overlay when sidewards scrolling */
background-color: #F6F6F6;
border-right: 1px solid #A7D7F9;
}
/* Prevent sidewards scrolling in pre elements */
pre
{
overflow: auto;
max-height: 25em;
}