Bug 1287391 - Wrong sidebar tabs direction in RTL locales with Firebug theme. r=pbro
authorSteve Chung <schung@mozilla.com>
Wed, 20 Jul 2016 11:47:04 +0800
changeset 345886 db0243f4762576ce4874d56bd3c92c56fcf78ab7
parent 345885 259109f5fadae72d9cf7d1a004f69bd94711b600
child 345887 fc1d44b2cb7b7d7c47a365bddfc23ff991505003
push id6389
push userraliiev@mozilla.com
push dateMon, 19 Sep 2016 13:38:22 +0000
treeherdermozilla-beta@01d67bfe6c81 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerspbro
bugs1287391
milestone50.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 1287391 - Wrong sidebar tabs direction in RTL locales with Firebug theme. r=pbro MozReview-Commit-ID: BhemDYlh703
devtools/client/shared/components/tabs/tabbar.css
devtools/client/shared/components/tabs/tabs.css
--- a/devtools/client/shared/components/tabs/tabbar.css
+++ b/devtools/client/shared/components/tabs/tabbar.css
@@ -43,12 +43,12 @@
   flex-grow: 1;
 }
 
 .tabs .tabs-navigation .tabs-menu-item a {
   text-align: center;
 }
 
 /* Firebug theme doesn't stretch the tabs. */
-.theme-firebug .tabs .tabs-navigation .tabs-menu {
-  display: block;
+.theme-firebug .tabs .tabs-navigation .tabs-menu-item {
+  flex-grow: 0;
 }
 
--- a/devtools/client/shared/components/tabs/tabs.css
+++ b/devtools/client/shared/components/tabs/tabs.css
@@ -12,17 +12,17 @@
 .tabs .tabs-menu {
   display: table;
   list-style: none;
   padding: 0;
   margin: 0;
 }
 
 .tabs .tabs-menu-item {
-  float: left;
+  float: inline-start;
 }
 
 .tabs .tabs-menu-item a {
   display: block;
   color: #A9A9A9;
   padding: 4px 8px;
   border: 1px solid transparent;
   text-decoration: none;