jenkins-bot has submitted this change and it was merged. ( https://gerrit.wikimedia.org/r/348183 )
Change subject: Improved infobox style hacks ...................................................................... Improved infobox style hacks * Increased padding for table cells; * The table occupies the whole window on mobile devices; * The table has a border. Bug: T162913 Change-Id: Ia22378873b87cc3b6fd13cf9fbcabf1442d00550 --- M resources/skins.minerva.content.styles/hacks.less M resources/skins.minerva.tablet.styles/hacks.less 2 files changed, 13 insertions(+), 3 deletions(-) Approvals: jenkins-bot: Verified Jdlrobson: Looks good to me, approved diff --git a/resources/skins.minerva.content.styles/hacks.less b/resources/skins.minerva.content.styles/hacks.less index d9dae73..468bf44 100644 --- a/resources/skins.minerva.content.styles/hacks.less +++ b/resources/skins.minerva.content.styles/hacks.less @@ -38,7 +38,7 @@ &.infobox { font-size: 90%; position: relative; - border: 0; + border: 1px solid @colorGray14; margin-bottom: 2em; text-align: left; background-color: @colorGray15; @@ -46,8 +46,13 @@ th, td { vertical-align: top; border: 0; - border-bottom: 1px solid @colorGray13; - padding: 0.2em; + border-bottom: 1px solid @colorGray14; + font-size: 13px; + padding: 7px 10px; + } + + td { + width: 100%; } tr:last-child th, diff --git a/resources/skins.minerva.tablet.styles/hacks.less b/resources/skins.minerva.tablet.styles/hacks.less index 102189a..c833a7b 100644 --- a/resources/skins.minerva.tablet.styles/hacks.less +++ b/resources/skins.minerva.tablet.styles/hacks.less @@ -22,6 +22,11 @@ width: auto !important; float: right !important; clear: right !important; + + td { + width: auto; + } + } // banners inserted by other extensions, i.e. Zero #mw-mf-page-center .mw-mf-banner { -- To view, visit https://gerrit.wikimedia.org/r/348183 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ia22378873b87cc3b6fd13cf9fbcabf1442d00550 Gerrit-PatchSet: 3 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: printstyles Gerrit-Owner: Jdlrobson <jrob...@wikimedia.org> Gerrit-Reviewer: Bmansurov <bmansu...@wikimedia.org> Gerrit-Reviewer: Jdlrobson <jrob...@wikimedia.org> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits