Bug 1272677 - Hide content width setting and line-height setting buttons in android's reader mode control panel. r=Margaret
authordanhuang1202 <danhuang1202@gmail.com>
Fri, 27 May 2016 17:39:48 +0800
changeset 299544 dd9e8143abd8b62b708cc886863781603dae1397
parent 299543 d049a47c24c1889cb547d4d899e998c75367e315
child 299545 ea4940dd52ccc58a914bfb3b464fa6cee0af628c
push id19445
push usercbook@mozilla.com
push dateTue, 31 May 2016 04:05:37 +0000
treeherderfx-team@ea4940dd52cc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMargaret
bugs1272677
milestone49.0a1
Bug 1272677 - Hide content width setting and line-height setting buttons in android's reader mode control panel. r=Margaret MozReview-Commit-ID: 4AnnPTcvqzg
mobile/android/themes/core/aboutReaderControls.css
--- a/mobile/android/themes/core/aboutReaderControls.css
+++ b/mobile/android/themes/core/aboutReaderControls.css
@@ -124,17 +124,19 @@
   border: 0;
   border-radius: 4px;
   box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.40);
 }
 
 /* Only used on desktop */
 .dropdown-popup > hr,
 .dropdown-arrow,
-#font-type-buttons > button > .name {
+#font-type-buttons > button > .name,
+#content-width-buttons,
+#line-height-buttons {
   display: none;
 }
 
 .open > .dropdown-popup {
   visibility: visible;
   bottom: 0;
 }