jenkins-bot has submitted this change and it was merged.
Change subject: Restrict default styling to panels in #content area
......................................................................
Restrict default styling to panels in #content area
This rule is having nasty side effects in overlays
e.g. Gather edit screen, mobile editor
So restrict this to #content.
Bug: T98188
Change-Id: I1a4b82f859ec9a1c3c1001fd84574267f294412e
---
M resources/mobile.startup/panel.less
1 file changed, 8 insertions(+), 11 deletions(-)
Approvals:
Jhernandez: Looks good to me, approved
jenkins-bot: Verified
diff --git a/resources/mobile.startup/panel.less
b/resources/mobile.startup/panel.less
index a122654..ace20fe 100644
--- a/resources/mobile.startup/panel.less
+++ b/resources/mobile.startup/panel.less
@@ -2,19 +2,16 @@
@import "minerva.variables";
// FIXME: Wikigrok uses the same styling for the .wikigrok class. Let's
consolidate.
-.panel {
- clear: both;
- margin-top: 1em;
- text-align: center;
-
- .content {
- padding: 1em @contentMargin;
- margin: 0;
- }
-}
-
#content {
.panel {
background-color: @grayLightest;
+ clear: both;
+ margin-top: 1em;
+ text-align: center;
+
+ .content {
+ padding: 1em @contentMargin;
+ margin: 0;
+ }
}
}
--
To view, visit https://gerrit.wikimedia.org/r/209194
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I1a4b82f859ec9a1c3c1001fd84574267f294412e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MobileFrontend
Gerrit-Branch: master
Gerrit-Owner: Jdlrobson <[email protected]>
Gerrit-Reviewer: Jhernandez <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits