mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-12-18 11:02:57 +00:00
Fix border on first section in Parsoid output
Change-Id: Ibff7eb4919d9f8c937f9d635d60731db5a39c1aa
This commit is contained in:
parent
8992839787
commit
cd7b389bce
|
@ -528,10 +528,6 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:first-child {
|
|
||||||
border-top: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
&-bar {
|
&-bar {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
@ -601,7 +597,10 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
font-size: 0.875em;
|
font-size: 0.875em;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.mw-mf .mf-section-0 + .ext-discussiontools-init-section {
|
/* Legacy parser */
|
||||||
|
&.mw-mf .mf-section-0 + .ext-discussiontools-init-section,
|
||||||
|
/* Parsoid */
|
||||||
|
&.mw-mf [ data-mw-section-id='1' ] .ext-discussiontools-init-section {
|
||||||
border-top: 0;
|
border-top: 0;
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue