mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-28 02:00:57 +00:00
Merge "Hide the lede section on mobile when DiscussionTools is enabled"
This commit is contained in:
commit
9282b7ac9e
|
@ -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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue