From db5852ecc7dcf719bf29cf5676bb522033de65ad Mon Sep 17 00:00:00 2001 From: Jon Robson Date: Tue, 16 Apr 2024 08:46:42 -0700 Subject: [PATCH] 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 --- skinStyles/mediawiki.diff.styles.less | 37 --------------------------- 1 file changed, 37 deletions(-) diff --git a/skinStyles/mediawiki.diff.styles.less b/skinStyles/mediawiki.diff.styles.less index 39a02609a..739f237dd 100644 --- a/skinStyles/mediawiki.diff.styles.less +++ b/skinStyles/mediawiki.diff.styles.less @@ -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;