mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-27 17:51:09 +00:00
Merge "Show empty state on mobile when there is only non-discussion content"
This commit is contained in:
commit
61f76003d1
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue