Bug 1298904 [RTL] Change the Search field and Add button locations in about:config draft
authorTomer Cohen <tomer@tomercohen.com>
Thu, 08 Dec 2016 19:15:57 +0200
changeset 447943 3630dcb17c5a44f97217f13400fa134d1e7fea0d
parent 447833 a5a070c8ca1ac8d8981a8b9d556197f93cae3782
child 539164 ac9cfa8c1f3bc4e717a0841b19ea17d76e430762
push id38206
push userbmo:tomer.moz.bugs@tomercohen.com
push dateThu, 08 Dec 2016 17:17:13 +0000
bugs1298904
milestone53.0a1
Bug 1298904 [RTL] Change the Search field and Add button locations in about:config MozReview-Commit-ID: GIQ2NV2VGAO
mobile/android/themes/core/config.css
--- a/mobile/android/themes/core/config.css
+++ b/mobile/android/themes/core/config.css
@@ -29,27 +29,26 @@ body {
 
 .toolbar-container {
     max-width: 40em;
     margin-left: auto;
     margin-right: auto;
 }
 
 #filter-container {
-    margin-top: 0.5em;
-    margin-bottom: 0.5em;
-    margin-right: 0.5em;
+    margin: 0.5em;
     height: 2em;
     border: 1px solid transparent;
     border-image-source: url("chrome://browser/skin/images/textfield.png");
     border-image-slice: 1 1 3 1;
     border-image-width: 1px 1px 3px 1px;
     overflow: hidden;
     display: flex;
     flex-direction: row;
+    float: inline-end;
 }
 
 #filter-input {
     -moz-appearance: none;
     border: none;
     background-image: none;
     background-color: transparent;
     display: inline-block;
@@ -75,16 +74,17 @@ body {
 #new-pref-toggle-button {
     background-position: center center;
     background-image: url("chrome://browser/skin/images/config-plus.png");
     background-size: 48px 48px;
     height: 48px;
     width: 48px;
     display: inline-block;
     outline-style: none;
+    float: inline-start;
 }
 
 #filter-search-button {
     background-image: url("chrome://browser/skin/images/search.png");
     background-size: 32px 32px;
     height: 32px;
     width: 32px;
     display: inline-block;