Florianschmidtwelzow has uploaded a new change for review. https://gerrit.wikimedia.org/r/204971
Change subject: Set max-width for drawers to 500px ...................................................................... Set max-width for drawers to 500px Instead of conteMaxWidth (1000px). Bug: T96459 Change-Id: I6bb5e0787d5a21ce366cecbced651a0d77be56ac --- M less/drawer.less M less/tablet/common.less 2 files changed, 8 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend refs/changes/71/204971/1 diff --git a/less/drawer.less b/less/drawer.less index 67f06ed..97bfa8d 100644 --- a/less/drawer.less +++ b/less/drawer.less @@ -24,6 +24,7 @@ .drawer { text-align: center; padding: 0 @contentMargin 1em; + max-width: 500px; &.text { line-height: 1; diff --git a/less/tablet/common.less b/less/tablet/common.less index 1a02758..bca6fba 100644 --- a/less/tablet/common.less +++ b/less/tablet/common.less @@ -36,12 +36,18 @@ top: 0; } + // FIXME: Have a class that identifies all 3 of these + .pre-content, + .content, + .content-overlay { + max-width: @contentMaxWidth; + } + // FIXME: Have a class that identifies all 4 of these .drawer, .pre-content, .content, .content-overlay { - max-width: @contentMaxWidth; margin: 0 auto; } -- To view, visit https://gerrit.wikimedia.org/r/204971 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I6bb5e0787d5a21ce366cecbced651a0d77be56ac Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/MobileFrontend Gerrit-Branch: master Gerrit-Owner: Florianschmidtwelzow <florian.schmidt.wel...@t-online.de> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits