From 89928397872a94a3fd8555c31741be8bb0097df3 Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Fri, 6 Dec 2024 13:39:12 +0000 Subject: [PATCH] Fix positioning of collapse/expand button in Parsoid output Change-Id: Ie0437f4e00f69b3088bbd2810c7cc6ceda644684 --- modules/dt.init.less | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/dt.init.less b/modules/dt.init.less index ea99106b7..9159f9ab8 100644 --- a/modules/dt.init.less +++ b/modules/dt.init.less @@ -483,6 +483,7 @@ h1, h2, h3, h4, h5, h6 { // Mobile &.mw-mf .ext-discussiontools-init-section { flex-wrap: wrap; + /* Legacy parser */ // stylelint-disable-next-line declaration-no-important align-items: flex-start !important; // stylelint-disable-next-line declaration-no-important @@ -503,6 +504,9 @@ h1, h2, h3, h4, h5, h6 { flex-basis: 0; /* T311612 */ font-size: 1.125em; + /* Parsoid */ + // stylelint-disable-next-line declaration-no-important + align-items: flex-start !important; } &-bar, @@ -516,8 +520,11 @@ h1, h2, h3, h4, h5, h6 { margin-bottom: -6px; } + /* Legacy parser */ // stylelint-disable-next-line selector-class-pattern - > .indicator { + > .indicator, + /* Parsoid */ + .mf-collapsible-icon { margin-top: 4px; }