Suppress top border when section follows <h1>

Bug: T318198
Change-Id: I550dd240fe629d0159448ea49d49195de0166a25
This commit is contained in:
Ed Sanders 2022-09-21 21:39:40 +01:00
parent f22e68ff86
commit a9488a9ead

View file

@ -394,6 +394,11 @@ h1, h2, h3, h4, h5, h6 {
}
}
h1 + .ext-discussiontools-init-section {
border-top: 0;
margin-top: 0;
}
// TOC can output a meta tag meaning we aren't the first child anymore
meta:first-child + .ext-discussiontools-init-section {
border-top: 0;