Merge "Fix border on first section in Parsoid output"

This commit is contained in:
jenkins-bot 2024-12-11 11:53:22 +00:00 committed by Gerrit Code Review
commit 1627c6d637

View file

@ -528,10 +528,6 @@ h1, h2, h3, h4, h5, h6 {
margin-top: 4px;
}
&:first-child {
border-top: 0;
}
&-bar {
width: 100%;
flex-wrap: wrap;
@ -601,7 +597,10 @@ h1, h2, h3, h4, h5, h6 {
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;
margin-top: 0;
}