mediawiki-skins-Vector/resources/skins.vector.styles/layouts/toc/pinned.less

13 lines
566 B
Plaintext
Raw Normal View History

.vector-column-start {
// Aligns the text of the sidebar TOC with the main menu.
// The negative margins must be applied here, because .vector-column-start has
// contain: paint, which has an effect similar to 'overflow: hidden', and will prevent elements
// inside of the panel from being rendered outside of its bounding box, even when they would
// be positioned there using absolute positioning, negative margin, transforms, etc.
margin-left: -@toc-list-item-padding-start;
.vector-main-menu-container {
margin-left: @toc-list-item-padding-start;
}
}