mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-29 09:55:42 +00:00
718bcef6f9
When the AB test is enabled both the old and new TOC's are in the page's html but only one is visible. The `.vector-toc-visible` class is also present and will try to apply a left margin even if the page has been bucketed into the control or unsampled group. This patch takes the simplest approach to fix this problem with CSS only especially given the transient nature of this code (will be removed when AB test is finished): * When the page bucketed in the control or unsampled group, prevent .vector-toc-visible from applying a left-margin through the use of `:not` selectors. Additionally: * Remove unnecessary `margin-left` rule that used to apply to the mw-workspace-container. Due to the work done in I2f95d5938674bb8263b6203c5f6a469762bf0cc2, the workspace container will now always have a computed left margin of zero because it is the same width as the page container. Bug: T306366 Change-Id: Icd9572353bb5e29cfda91b095ceb8c2e652864e7 |
||
---|---|---|
.. | ||
print.less | ||
screen.less |