diff --git a/modules/dt.init.less b/modules/dt.init.less index 281d65106..9c2d7b82a 100644 --- a/modules/dt.init.less +++ b/modules/dt.init.less @@ -573,6 +573,7 @@ h1, h2, h3, h4, h5, h6 { display: none; } + /* Legacy parser */ // stylelint-disable-next-line selector-class-pattern &.section-heading .ext-discussiontools-init-section-actions { // Hidden until expanded @@ -587,6 +588,11 @@ h1, h2, h3, h4, h5, h6 { display: block; } } + + /* Parsoid */ + &.mf-collapsible-heading:has( .mf-collapsible-icon.mf-icon-expand ) .ext-discussiontools-init-section-actions { + display: none; + } } &.mw-mf .ext-discussiontools-init-section-overflowMenu {