mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2025-01-05 19:34:14 +00:00
09781a5a96
Change-Id: I15cc4597d75a18f07bf96491df7a21113b0376ba
15 lines
635 B
Plaintext
15 lines
635 B
Plaintext
.mw-table-of-contents-container {
|
|
// Needed for Grid-based layout
|
|
align-self: start;
|
|
}
|
|
|
|
&.vector-feature-toc-pinned-clientpref-1 #mw-panel-toc {
|
|
// Support: Chrome
|
|
// Work around sticky-positioned layers disabling subpixel text rendering (T327460).
|
|
// NOTE: This property 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.
|
|
// That's why the negative margins have to be applied here, instead of on #vector-toc.
|
|
contain: paint;
|
|
}
|