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 338534 dd9e8143abd8b62b708cc886863781603dae1397
parent 338533 d049a47c24c1889cb547d4d899e998c75367e315
child 338535 ea4940dd52ccc58a914bfb3b464fa6cee0af628c
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersMargaret
bugs1272677
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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;
 }