jenkins-bot has submitted this change and it was merged. Change subject: Bring back hatnotes ......................................................................
Bring back hatnotes Undo I6b972be and I559281d dablink and rellink classes were partly replaced by .hatnote. But If you want to hide content, hide by semantic class, not by a multipurpose styling class. If templates don't give you a semantic class, ask for the template to add one. Remember that these things are also used in sections a LOT. Especially hiding Main and See also is very annoying. Bug: T91160 Change-Id: I358cf69270e2a9dcdf4af999a5a9df03d966044e --- M less/content/hacks.less 1 file changed, 1 insertion(+), 10 deletions(-) Approvals: Kaldari: Looks good to me, approved jenkins-bot: Verified diff --git a/less/content/hacks.less b/less/content/hacks.less index 1481544..c4dbec8 100644 --- a/less/content/hacks.less +++ b/less/content/hacks.less @@ -63,8 +63,6 @@ } } -// Hat notes take up too much room in mobile interface -.hatnote, // FIXME: Remove when filetoc is stripped from file pages a la table of contents (toc) #filetoc, // FIXME: remove when SkinMobile::doEditSectionLink present in cached pages @@ -103,6 +101,7 @@ background-color: #ddeeff; } +.hatnote, .dablink, .rellink { // Use bottom padding instead of bottom margin so that it doesn't affect the @@ -117,14 +116,6 @@ .quotebox { margin: 0 0 0.8em !important; width: auto !important; -} - -@media all and (min-width: @wgMFDeviceWidthTablet) { - - // Show hatnotes when there is room. - .hatnote { - display: block; - } } // Hacks to render galleries better on mobile -- To view, visit https://gerrit.wikimedia.org/r/193560 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I358cf69270e2a9dcdf4af999a5a9df03d966044e Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: TheDJ <hartman.w...@gmail.com> Gerrit-Reviewer: Kaldari <rkald...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits