mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-09-25 03:09:24 +00:00
1d45abb015
Adding 'contain: paint' to the TOC container works around the issue. This property is intended to prevent element's rendering from affecting other elements, so it makes sense that this works. https://developer.mozilla.org/en-US/docs/Web/CSS/contain Because this property also clips the rendering of the element to its bounding box (similar to 'overflow: hidden'), we need to move some negative margins to this element from its children, otherwise the TOC expand/collapse arrows would be cut off. Bug: T327460 Change-Id: I34f414a99608450882e83c0ff22e64c05dff8807 |
||
---|---|---|
.. | ||
common | ||
mediawiki.less | ||
mediawiki.less.legacy | ||
skins.vector.es6 | ||
skins.vector.js | ||
skins.vector.legacy.js | ||
skins.vector.search | ||
skins.vector.styles | ||
skins.vector.styles.legacy | ||
CheckboxHack.d.ts | ||
CollapsibleTabsPlugin.d.ts | ||
MediaWikiPageReady.d.ts | ||
mw.d.ts | ||
VectorResourceLoaderVirtualConfig.d.ts | ||
vue.d.ts |