mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-11 23:46:22 +00:00
cb58da455e
Follow-up to badd229bab
. Moving
`position: sticky` to the same element as `contain: paint` defeated
the workaround. Move it to the parent elements again to make it work.
Bug: T373066
Change-Id: Ic942bfd599661a29cf7b2dbb6c6cc2ec521b8c82
13 lines
566 B
Plaintext
13 lines
566 B
Plaintext
.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;
|
|
}
|
|
}
|