mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-23 16:06:53 +00:00
Show empty state on mobile when there is only non-discussion content
Bug: T313801 Change-Id: I4e9910ef7d63c6ce330da1a896f518a9a22a12cd
This commit is contained in:
parent
c93edc44b7
commit
1d1df63cab
|
@ -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