Bug 1693980 - Make Proton tab bar buttons' click targets extend to the top of maximized windows. r=jaws
authorMolly Howell <mhowell@mozilla.com>
Tue, 23 Feb 2021 22:43:21 +0000
changeset 568500 1f0d643a3e524308d88cf017d80d82cf6bfb9bd3
parent 568499 2ce2279121cfb6a0aa21af264a298fd6de460a74
child 568501 9f792350a7b166691b3ba4a17f60d6d616e50460
push id38233
push userabutkovits@mozilla.com
push dateWed, 24 Feb 2021 10:01:19 +0000
treeherdermozilla-central@b3eb91f0b5a7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1693980
milestone88.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 1693980 - Make Proton tab bar buttons' click targets extend to the top of maximized windows. r=jaws Differential Revision: https://phabricator.services.mozilla.com/D106189
browser/themes/shared/toolbarbuttons.inc.css
--- a/browser/themes/shared/toolbarbuttons.inc.css
+++ b/browser/themes/shared/toolbarbuttons.inc.css
@@ -105,22 +105,16 @@ toolbar[brighttext] {
 }
 
 #TabsToolbar .toolbarbutton-1,
 #tabbrowser-arrowscrollbox::part(scrollbutton-up),
 #tabbrowser-arrowscrollbox::part(scrollbutton-down) {
   margin: 0 0 var(--tabs-navbar-shadow-size) !important;
 }
 
-@supports -moz-bool-pref("browser.proton.tabs.enabled") {
-#TabsToolbar .toolbarbutton-1 {
-  margin-block: var(--proton-tab-block-margin) !important;
-}
-} /*** END proton ***/
-
 #tabbrowser-arrowscrollbox::part(scrollbutton-up),
 #tabbrowser-arrowscrollbox::part(scrollbutton-down) {
   appearance: none;
   padding: 0 var(--toolbarbutton-inner-padding) !important;
 }
 
 #navigator-toolbox:not(:hover) #tabbrowser-arrowscrollbox:not([highlight])::part(scrollbutton-down) {
   transition: 1s background-color ease-out;