Bug 965550 - Tab stip doesn't touch scroll if last tab is partially visible. r=mbrubeck, a=lsblakk
authorRodrigo Silveira <rsilveira@mozilla.com>
Mon, 24 Feb 2014 23:45:13 -0800
changeset 176441 f7953ebceb6055db47e7e515f2302cfe3596c62f
parent 176440 37e06d6ff4f8f1f3c7ec797d761209a5b9b3e768
child 176442 eb47781c21ef6799c7358b67fcacfad29143de28
push id445
push userffxbld
push dateMon, 10 Mar 2014 22:05:19 +0000
treeherdermozilla-release@dc38b741b04e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmbrubeck, lsblakk
bugs965550
milestone28.0
Bug 965550 - Tab stip doesn't touch scroll if last tab is partially visible. r=mbrubeck, a=lsblakk
browser/metro/theme/browser.css
--- a/browser/metro/theme/browser.css
+++ b/browser/metro/theme/browser.css
@@ -105,16 +105,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);