mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-13 17:37:07 +00:00
2bf442db12
* Fix styling of empty lines - cover full width * Disable the pseudo element shipped in core * Move styles from mobile.special.mobilediff.styles into mediawiki.diff.styles since the latter is always present, the former isn't if MobileFrontend is not available. Bug: T242310 Bug: T243235 Change-Id: Ic7d12fe890622e7b3ccc7bc56765f505ac0ab651
29 lines
677 B
Plaintext
29 lines
677 B
Plaintext
// stylelint-disable selector-max-id
|
|
@import 'mediawiki.ui/variables';
|
|
|
|
// Override MobileFrontend styles (can be weakened/removed when MobileDiff no longer exists)
|
|
#mw-mf-diffview .mw-diff-empty-line {
|
|
del,
|
|
ins {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
// By default a pseudo element is used for skins like Vector. We don't want this on Minerva.
|
|
.mw-diff-movedpara-right,
|
|
.mw-diff-movedpara-left,
|
|
.rtl .mw-diff-movedpara-left,
|
|
.rtl .mw-diff-movedpara-right {
|
|
&:after {
|
|
content: none;
|
|
}
|
|
}
|
|
|
|
@media all and ( max-width: @width-breakpoint-tablet ) {
|
|
// T233151: Remove post-content margin on mobile diff page drawer
|
|
// .post-content margin
|
|
#mw-mf-userinfo .post-content {
|
|
margin: 0;
|
|
}
|
|
}
|