Merge "Show empty state on mobile when there is only non-discussion content"

This commit is contained in:
jenkins-bot 2022-07-26 13:24:29 +00:00 committed by Gerrit Code Review
commit 61f76003d1
2 changed files with 7 additions and 2 deletions

View file

@ -4,7 +4,7 @@
"stylelint-config-wikimedia/mediawiki"
],
"rules": {
"selector-class-pattern": "^(ext|ve|mw|oo-ui|client|skin)-",
"selector-class-pattern": "^(ext|ve|mw|oo-ui|client|skin|mf)-",
"unit-disallowed-list": null
}
}

View file

@ -558,10 +558,15 @@ span[ data-mw-comment-start ] {
// The button will disable all DT features byt remove feature CSS classes.
// stylelint-disable-next-line selector-class-pattern
.skin-minerva.ns-talk.ext-discussiontools-replytool-enabled {
.mf-section-0 { /* stylelint-disable-line selector-class-pattern */
.mf-section-0 > *:not( .ext-discussiontools-emptystate ) {
display: none;
}
.mf-section-0 > .ext-discussiontools-emptystate {
border-top: 0;
margin-top: 0;
}
.ext-discussiontools-init-readAsWikiPage {
display: block;
/* Not sticky per T309889 */