Update mw:tocplace CSS hack

Bug: T311502
Depends-On: Ie63eed07b9bca1bfa07d4c256aba3728cedd8f93
Change-Id: I989e178419aec75b673308ca26f967176116e260
This commit is contained in:
Ed Sanders 2022-08-18 16:28:36 +01:00
parent 2763830145
commit b4eaa05c1c

View file

@ -400,9 +400,8 @@ h1, h2, h3, h4, h5, h6 {
}
}
// HACK: Can be removed once T311502 is fixed
// stylelint-disable-next-line selector-type-no-unknown
mw\3Atocplace:first-child + .ext-discussiontools-init-section {
// TOC can output a meta tag meaning we aren't the first child anymore
meta:first-child + .ext-discussiontools-init-section {
border-top: 0;
margin-top: 0;
}