Fix hiding "actions" bar (subscribe button) in Parsoid output

This doesn't fix the FOUC issue yet.

Change-Id: Idcb59c985bb8cce6b77db4eabfb23b23ebe9eab0
This commit is contained in:
Ed Sanders 2024-12-06 13:40:47 +00:00
parent 74f2635026
commit f1ed4ad8f7

View file

@ -573,6 +573,7 @@ h1, h2, h3, h4, h5, h6 {
display: none; display: none;
} }
/* Legacy parser */
// stylelint-disable-next-line selector-class-pattern // stylelint-disable-next-line selector-class-pattern
&.section-heading .ext-discussiontools-init-section-actions { &.section-heading .ext-discussiontools-init-section-actions {
// Hidden until expanded // Hidden until expanded
@ -587,6 +588,11 @@ h1, h2, h3, h4, h5, h6 {
display: block; 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 { &.mw-mf .ext-discussiontools-init-section-overflowMenu {