Bug 965550 - Tab stip doesn't touch scroll if last tab is partially visible r=mbrubeck
authorRodrigo Silveira <rsilveira@mozilla.com>
Mon, 24 Feb 2014 23:45:13 -0800
changeset 171442 dc386405bf17f0ede70a68087e44303c2268d02d
parent 171441 f75dd69c256b5552197c64f4b1c8d81becb2617c
child 171443 a253b70ac4cb3a078b9be2bace6daa4d48351a4d
push id270
push userpvanderbeken@mozilla.com
push dateThu, 06 Mar 2014 09:24:21 +0000
reviewersmbrubeck
bugs965550
milestone30.0a1
Bug 965550 - Tab stip doesn't touch scroll if last tab is partially visible r=mbrubeck
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);