Merge "Hide the lede section on mobile when DiscussionTools is enabled"

This commit is contained in:
jenkins-bot 2022-07-01 17:38:47 +00:00 committed by Gerrit Code Review
commit 9282b7ac9e

View file

@ -552,3 +552,15 @@ span[ data-mw-comment-start ] {
} }
} }
} }
// Hide lede section on mobile. Useful information *should* be handled
// by MobileFrontend's page-issues feature, but we may need our own
// way to show this section as that feature is quite buggy.
// This selector is a proxy for checking if DiscussionToolsEnableMobile
// is set. That config enables a few tools unconditionally, including
// the reply tool, which is usually the first to be deployed.
.skin-minerva.ext-discussiontools-replytool-enabled {
.mf-section-0 { /* stylelint-disable-line selector-class-pattern */
display: none;
}
}