From f1ed4ad8f7d5326a8a8267d5bd4fccdef1a0d3cc Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 6 Dec 2024 13:40:47 +0000 Subject: [PATCH] Fix hiding "actions" bar (subscribe button) in Parsoid output This doesn't fix the FOUC issue yet. Change-Id: Idcb59c985bb8cce6b77db4eabfb23b23ebe9eab0 --- modules/dt.init.less | 6 ++++++ 1 file changed, 6 insertions(+) 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 {