Mhurd has uploaded a new change for review.
https://gerrit.wikimedia.org/r/183751
Change subject: Small tweaks per Vibha to lead image styling layout.
......................................................................
Small tweaks per Vibha to lead image styling layout.
Change-Id: I62e79c6c5f621ca3449de6df83afb85709ebd796
---
M wikipedia/View Controllers/LeadImage/LeadImageTitleAttributedString.m
M wikipedia/assets/styleoverrides.css
M www/less/styleoverrides.less
3 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/apps/ios/wikipedia
refs/changes/51/183751/1
diff --git a/wikipedia/View
Controllers/LeadImage/LeadImageTitleAttributedString.m b/wikipedia/View
Controllers/LeadImage/LeadImageTitleAttributedString.m
index d8c2cb8..39c8dec 100644
--- a/wikipedia/View Controllers/LeadImage/LeadImageTitleAttributedString.m
+++ b/wikipedia/View Controllers/LeadImage/LeadImageTitleAttributedString.m
@@ -68,8 +68,8 @@
multiplier = 1.0f - (linesAfter2Lines * 0.1f);
}
- // Don't shrink below 50%.
- return MAX(multiplier, 0.5f);
+ // Don't shrink below 60%.
+ return MAX(multiplier, 0.6f);
}
@end
diff --git a/wikipedia/assets/styleoverrides.css
b/wikipedia/assets/styleoverrides.css
index eca5843..211531b 100644
--- a/wikipedia/assets/styleoverrides.css
+++ b/wikipedia/assets/styleoverrides.css
@@ -1 +1 @@
-a:hover{text-decoration:none
!important}.edit_section_button{display:inline-block !important;width:38px
!important;height:42px !important;background-size:36px 36px
!important;background-repeat:no-repeat !important;background-position:center
!important}table,tr,tbody,td,th,div,span{border-width:2px
!important;border-color:#fff
!important}td{background-color:#f7f7f7}hr:not(.mw-footer-divider){border-width:0px
!important;height:2px !important;background-color:#fff
!important}img{border-width:1px !important;border-color:#fff
!important}.hatnote{display:none}.content{margin-top:0px}#section_heading_and_content_block_0
.section_heading .edit_section_button{margin-top:18px}
\ No newline at end of file
+a:hover{text-decoration:none
!important}.edit_section_button{display:inline-block !important;width:38px
!important;height:42px !important;background-size:36px 36px
!important;background-repeat:no-repeat !important;background-position:center
!important}table,tr,tbody,td,th,div,span{border-width:2px
!important;border-color:#fff
!important}td{background-color:#f7f7f7}hr:not(.mw-footer-divider){border-width:0px
!important;height:2px !important;background-color:#fff
!important}img{border-width:1px !important;border-color:#fff
!important}.hatnote{display:none}.content{margin-top:0px}#section_heading_and_content_block_0
.section_heading .edit_section_button{margin-top:6px}
\ No newline at end of file
diff --git a/www/less/styleoverrides.less b/www/less/styleoverrides.less
index 7813fe8..33cde3f 100644
--- a/www/less/styleoverrides.less
+++ b/www/less/styleoverrides.less
@@ -80,4 +80,4 @@
.content {margin-top:0px;}
/* Override top padding on first edit pencil so it roughly aligns with first 2
lines of text. */
-#section_heading_and_content_block_0 .section_heading
.edit_section_button{margin-top:18px;}
+#section_heading_and_content_block_0 .section_heading
.edit_section_button{margin-top:6px;}
--
To view, visit https://gerrit.wikimedia.org/r/183751
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I62e79c6c5f621ca3449de6df83afb85709ebd796
Gerrit-PatchSet: 1
Gerrit-Project: apps/ios/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Mhurd <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits