Bug 965550 - Tab stip doesn't touch scroll if last tab is partially visible. r=mbrubeck, a=sledru
authorRodrigo Silveira <rsilveira@mozilla.com>
Mon, 24 Feb 2014 23:45:13 -0800
changeset 183128 6a3684aee3e384a8ab5d384b26eede893539abd3
parent 183127 25e8e343ef752ed4a4976cd421c86fedf7baee3b
child 183129 ef5a3cd77982b5c5e4a7d40537bc353a245359c3
push id3343
push userffxbld
push dateMon, 17 Mar 2014 21:55:32 +0000
treeherdermozilla-beta@2f7d3415f79f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbrubeck, sledru
bugs965550
milestone29.0a2
Bug 965550 - Tab stip doesn't touch scroll if last tab is partially visible. r=mbrubeck, a=sledru
browser/metro/theme/browser.css
--- a/browser/metro/theme/browser.css
+++ b/browser/metro/theme/browser.css
@@ -122,16 +122,22 @@
   background-color: rgb(90, 91, 95);
   position: absolute;
   top: 0;
   right: calc(@tabs_scrollarrow_width@ + @newtab_button_width@); /* .scrollbutton-down width + #newtab-button width */
   width: 1px;
   height: @tabs_height@;
 }
 
+/* Hack for bug 965550 */
+.tabs-scrollbox > .arrowscrollbox-scrollbox > .scrollbox-innerbox {
+  -moz-padding-start: calc(2 * @tabs_scrollarrow_width@);
+  -moz-margin-start: calc(-2 * @tabs_scrollarrow_width@);
+}
+
 #tabs-container[viewstate="snapped"] {
   visibility: hidden;
 }
 
 @-moz-keyframes open-documenttab {
   0% {
     opacity: 0;
     transform: scale(0, 0);