MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
Line 130: Line 130:
}
}


/* Hide the collapse/pin toggle button entirely */
.vector-pinnable-header-toggle { display: none !important; }
/* Force sidebar width and visibility */
#mw-panel,
.vector-sidebar {
    display: block !important;
    width: 15em !important;  /* adjust to your preference */
    position: fixed;        /* optional: make it "sticky" as you scroll */
    top: 0;
    left: 0;
    height: 100%;
    overflow-y: auto;
}
/* Push main content right to avoid overlap */
#mw-content-container,
.mw-page-container {
    margin-left: 15em !important;  /* match sidebar width */
}


/* default colors for partial block message */
/* default colors for partial block message */