Jdlrobson has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/80312


Change subject: Beta: Fix user info box on diff view
......................................................................

Beta: Fix user info box on diff view

Make sure user info box gets clipped just like content
(alterntive to I41ef2e80001ae3eb8fd012d554430076b3bc0e3d)

Change-Id: Ib56b45d37b1f45c6a0bd065d9235c4d7e7101af7
---
M less/common/mainmenu.less
M stylesheets/common/ui.css
2 files changed, 15 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MobileFrontend 
refs/changes/12/80312/1

diff --git a/less/common/mainmenu.less b/less/common/mainmenu.less
index 6b14ab3..18bcd64 100644
--- a/less/common/mainmenu.less
+++ b/less/common/mainmenu.less
@@ -141,6 +141,10 @@
        #mw-mf-page-center {
                left: @menuWidth !important;
        }
+
+       .position-fixed {
+               right: -@menuWidth !important;
+       }
 }
 
 // navigation enabled on bigger screens (tablets and desktop)
@@ -166,6 +170,10 @@
                #mw-mf-page-center {
                        left: 20% !important;
                }
+
+               .position-fixed {
+                       right: -20% !important;
+               }
        }
 }
 
diff --git a/stylesheets/common/ui.css b/stylesheets/common/ui.css
index 9f174b1..969ef45 100644
--- a/stylesheets/common/ui.css
+++ b/stylesheets/common/ui.css
@@ -290,6 +290,9 @@
 body.navigation-enabled #mw-mf-page-center {
   left: 16em !important;
 }
+body.navigation-enabled .position-fixed {
+  right: -16em !important;
+}
 @media (min-width: 700px) {
   body.navigation-enabled.alpha,
   body.navigation-enabled.beta {
@@ -311,6 +314,10 @@
   body.navigation-enabled.beta #mw-mf-page-center {
     left: 20% !important;
   }
+  body.navigation-enabled.alpha .position-fixed,
+  body.navigation-enabled.beta .position-fixed {
+    right: -20% !important;
+  }
 }
 /* Header */
 .header form {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib56b45d37b1f45c6a0bd065d9235c4d7e7101af7
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>

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

Reply via email to