mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-11 16:38:20 +00:00
Remove styles for deleted diff special page
MobileDiff special page no longer exists so none of this CSS which applies to #mw-mf prefixed code is not applying to anything. Bug: T360389 Change-Id: I6638850a6e1cd1e27072ecd17dd1524f62f976cd
This commit is contained in:
parent
22de1919ed
commit
db5852ecc7
|
@ -1,14 +1,6 @@
|
|||
/* stylelint-disable selector-max-id */
|
||||
@import '../minerva.less/minerva.variables.less';
|
||||
|
||||
// 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,
|
||||
|
@ -19,35 +11,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.mw-special-MobileDiff {
|
||||
#mw-mf-diffarea {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
// T350440: Hide desktop history links on Special:MobileDiff
|
||||
// to avoid duplicate sets of links.
|
||||
.mw-diff-revision-history-links {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media all and ( max-width: @width-breakpoint-tablet ) {
|
||||
.mw-special-MobileDiff {
|
||||
.content-unstyled {
|
||||
margin: 0 @margin-content;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@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;
|
||||
}
|
||||
}
|
||||
|
||||
// Will be enhanced with JS
|
||||
.mw-diff-timestamp {
|
||||
display: block;
|
||||
|
|
Loading…
Reference in a new issue