Bug 1094830 - Fix an off by one pixel error causing the new tab button to shake once it reaches the end of the window;r=MattN

This commit is contained in:
Brian Grinstead 2014-11-12 07:58:15 -08:00
Родитель 7dfba718bf
Коммит 13275dc9da
2 изменённых файлов: 11 добавлений и 6 удалений

Просмотреть файл

@ -302,16 +302,21 @@ window:not([chromehidden~="toolbar"]) #urlbar-wrapper {
box-shadow: var(--tab-selection-box-shadow);
}
/* New tab buttons */
#TabsToolbar > #new-tab-button,
/* Don't need space for the tab curves (66px - 30px) */
.tabs-newtab-button {
background-image: none !important;
margin: 0 !important;
width: 35px !important;
width: 36px;
}
/* Override @tabToolbarNavbarOverlap@ */
#TabsToolbar .toolbarbutton-1,
.tabbrowser-arrowscrollbox > .scrollbutton-up,
.tabbrowser-arrowscrollbox > .scrollbutton-down {
margin-bottom: 0;
}
#TabsToolbar > #new-tab-button:hover,
.tabs-newtab-button:hover {
/* Important needed because !important is used in browser.css */
background-color: var(--tab-hover-background-color) !important;
background-image: none;
}

Просмотреть файл

@ -319,5 +319,5 @@
/* New tab button */
.tabs-newtab-button {
width: 66px;
width: calc(36px + @tabCurveWidth@);
}