jenkins-bot has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/338488 )
Change subject: Update bundled CSS
......................................................................
Update bundled CSS
Applies the changes deployed to the production wikis up to this week.
Change-Id: I0c28a09db4013409da67b0978fb73e1fd0427c5a
---
M app/src/main/assets/preview.css
M app/src/main/assets/styles.css
2 files changed, 18 insertions(+), 20 deletions(-)
Approvals:
Dbrant: Looks good to me, approved
jenkins-bot: Verified
diff --git a/app/src/main/assets/preview.css b/app/src/main/assets/preview.css
index 5d1966b..7011f04 100644
--- a/app/src/main/assets/preview.css
+++ b/app/src/main/assets/preview.css
@@ -133,18 +133,10 @@
}
.content .thumb {
margin: 0.6em 0;
- /* bug 20030 */
}
.content .thumb .thumbinner {
margin: 0 auto;
max-width: 100% !important;
-}
-.content .thumb .noresize {
- width: 100%;
- overflow-x: auto;
-}
-.content .thumb .noresize img {
- max-width: none !important;
}
.content .thumbcaption {
margin: 0.5em 0 0;
@@ -156,6 +148,9 @@
}
.content .thumbborder {
border: 1px solid #c8ccd1;
+}
+.content .magnify {
+ display: none;
}
.content img {
vertical-align: middle;
@@ -180,8 +175,12 @@
max-width: 100% !important;
height: auto !important;
}
-.content div.magnify {
- display: none;
+.content .noresize {
+ max-width: 100%;
+ overflow-x: auto;
+}
+.content .noresize a > img {
+ max-width: none !important;
}
h1 {
font-size: 1.7em;
diff --git a/app/src/main/assets/styles.css b/app/src/main/assets/styles.css
index 5bd44b4..f96261e 100644
--- a/app/src/main/assets/styles.css
+++ b/app/src/main/assets/styles.css
@@ -133,18 +133,10 @@
}
.content .thumb {
margin: 0.6em 0;
- /* bug 20030 */
}
.content .thumb .thumbinner {
margin: 0 auto;
max-width: 100% !important;
-}
-.content .thumb .noresize {
- width: 100%;
- overflow-x: auto;
-}
-.content .thumb .noresize img {
- max-width: none !important;
}
.content .thumbcaption {
margin: 0.5em 0 0;
@@ -156,6 +148,9 @@
}
.content .thumbborder {
border: 1px solid #c8ccd1;
+}
+.content .magnify {
+ display: none;
}
.content img {
vertical-align: middle;
@@ -180,8 +175,12 @@
max-width: 100% !important;
height: auto !important;
}
-.content div.magnify {
- display: none;
+.content .noresize {
+ max-width: 100%;
+ overflow-x: auto;
+}
+.content .noresize a > img {
+ max-width: none !important;
}
h1 {
font-size: 1.7em;
--
To view, visit https://gerrit.wikimedia.org/r/338488
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I0c28a09db4013409da67b0978fb73e1fd0427c5a
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Mholloway <[email protected]>
Gerrit-Reviewer: Dbrant <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits