jenkins-bot has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/357636 )

Change subject: Let frwiki main page take up the full screen on smaller screens
......................................................................


Let frwiki main page take up the full screen on smaller screens

Adds a @media query from frwiki's Common.css that prevents content from
being split into right and left panes when the screen width is <= 981px.

Bug: T167307
Depends-On: Ib7f0bd15dd0a9255e1e5140907e800478b658b92
Change-Id: I94589150c9ca3b77cc6ed62a8b825aa82ecd4c7e
---
M extension.json
A styles/frwiki.less
2 files changed, 13 insertions(+), 0 deletions(-)

Approvals:
  Dbrant: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/extension.json b/extension.json
index 6c9120a..d563140 100644
--- a/extension.json
+++ b/extension.json
@@ -24,6 +24,7 @@
                        "styles": [
                                "styles/disambig.less",
                                "styles/enwiki.less",
+                               "styles/frwiki.less",
                                "styles/headers.less",
                                "styles/issues.less",
                                "styles/android/loading.less",
diff --git a/styles/frwiki.less b/styles/frwiki.less
new file mode 100644
index 0000000..980369c
--- /dev/null
+++ b/styles/frwiki.less
@@ -0,0 +1,12 @@
+// Copied from 
https://fr.m.wikipedia.org/wiki/MediaWiki:Common.css&oldid=137958647
+// https://phabricator.wikimedia.org/T165307
+@media screen and ( max-width: 981px ) {
+       .portail-gauche,
+       .portail-droite {
+               float: none;
+               width: auto !important;
+       }
+       .portail-gauche-inner {
+               padding-right: 0;
+       }
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/357636
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I94589150c9ca3b77cc6ed62a8b825aa82ecd4c7e
Gerrit-PatchSet: 5
Gerrit-Project: mediawiki/extensions/MobileApp
Gerrit-Branch: master
Gerrit-Owner: Mholloway <[email protected]>
Gerrit-Reviewer: Dbrant <[email protected]>
Gerrit-Reviewer: Fjalapeno <[email protected]>
Gerrit-Reviewer: Mholloway <[email protected]>
Gerrit-Reviewer: Mhurd <[email protected]>
Gerrit-Reviewer: Niedzielski <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to