MediaWiki:Bhcvectorbrand-css: Difference between revisions
Created page with "→Custom CSS for the branded preview (scoped).: →Tip: start selectors with body.bhc-branding ...: →Ensure sidebar does not visually extend past the footer: body.bhc-branding #mw-panel { padding-bottom: 3rem; } body.bhc-branding .bhc-footer { position: relative; z-index: 1; }" |
No edit summary |
||
| Line 3: | Line 3: | ||
/* Ensure sidebar does not visually extend past the footer */ | /* Ensure sidebar does not visually extend past the footer */ | ||
body.bhc-branding | body.bhc-branding { | ||
overflow-x: hidden; | |||
} | } | ||
body.bhc-branding . | body.bhc-branding .mw-page-container { | ||
min-height: calc(100vh - var(--bhc-bar-height)); | |||
} | } | ||
Revision as of 15:26, 23 January 2026
/* Custom CSS for the branded preview (scoped). */ /* Tip: start selectors with body.bhc-branding ... */
/* Ensure sidebar does not visually extend past the footer */ body.bhc-branding {
overflow-x: hidden;
}
body.bhc-branding .mw-page-container {
min-height: calc(100vh - var(--bhc-bar-height));
}
