Bug 1276686 - Prevent selection when tapping on reader mode toolbar. r=margaret
authorRay Lin <ralin@mozilla.com>
Fri, 03 Jun 2016 22:38:39 +0800
changeset 300374 094a647ca9c259002607cea50b15538f79bda932
parent 300373 a43d99734390d98a6430d2e0900222651546456e
child 300375 367c7cce892f627ad7e1f1ceba0f04feb601522a
push id19523
push userryanvm@gmail.com
push dateFri, 03 Jun 2016 17:52:30 +0000
treeherderfx-team@094a647ca9c2 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmargaret
bugs1276686
milestone49.0a1
Bug 1276686 - Prevent selection when tapping on reader mode toolbar. r=margaret MozReview-Commit-ID: 9A4aZBUTKf6
mobile/android/themes/core/aboutReaderControls.css
--- a/mobile/android/themes/core/aboutReaderControls.css
+++ b/mobile/android/themes/core/aboutReaderControls.css
@@ -119,16 +119,17 @@
   width: calc(100% - 30px);
   margin: 15px;
   z-index: 1000;
   background: #EBEBF0;
   visibility: hidden;
   border: 0;
   border-radius: 4px;
   box-shadow: 0px 4px 8px 0px rgba(0,0,0,0.40);
+  -moz-user-select: none;
 }
 
 /* Only used on desktop */
 .dropdown-popup > hr,
 .dropdown-arrow,
 #font-type-buttons > button > .name,
 #content-width-buttons,
 #line-height-buttons {