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:
Jon Robson 2024-04-16 08:46:42 -07:00 committed by Jdlrobson
parent 22de1919ed
commit db5852ecc7

View file

@ -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;