diff --git a/modules/dt.init.less b/modules/dt.init.less index 0fa4f987a..1d41338e6 100644 --- a/modules/dt.init.less +++ b/modules/dt.init.less @@ -365,8 +365,7 @@ h1, h2, h3, h4, h5, h6 { .mw-mf .ext-discussiontools-init-section { // Need to fix some styles on mobile even when the feature is not enabled display: flex; - // stylelint-disable-next-line declaration-no-important - align-items: flex-start !important; + align-items: center; > h2 { flex-grow: 1; @@ -452,6 +451,8 @@ h1, h2, h3, h4, h5, h6 { &.mw-mf .ext-discussiontools-init-section { flex-wrap: wrap; // stylelint-disable-next-line declaration-no-important + align-items: flex-start !important; + // stylelint-disable-next-line declaration-no-important border-bottom: 0 !important; margin: 5px 0 0 0; padding-bottom: 0;