Bug 1511053 - Stop affecting the titlebar's height while dragging tabs. r=Gijs a=lizzard
authorDão Gottwald <dao@mozilla.com>
Sun, 10 Feb 2019 15:34:22 +0000
changeset 516167 370feb072937
parent 516166 d520fdd91a48
child 516168 0ccb6406ff13
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs, lizzard
bugs1511053
milestone66.0
Bug 1511053 - Stop affecting the titlebar's height while dragging tabs. r=Gijs a=lizzard Differential Revision: https://phabricator.services.mozilla.com/D19268
browser/base/content/browser.css
--- a/browser/base/content/browser.css
+++ b/browser/base/content/browser.css
@@ -228,29 +228,23 @@ panelview[mainview] > .panel-header {
 #tabbrowser-tabs[movingtab] > .tabbrowser-tab[fadein]:not([selected]):not([multiselected]) {
   transition: transform 200ms var(--animation-easing-function);
 }
 
 .tabbrowser-tab[tab-grouping][multiselected]:not([selected]) {
   z-index: 2;
 }
 
-/* The next 3 rules allow dragging tabs slightly outside of the tabstrip
- * to make it easier to drag tabs. */
-#navigator-toolbox[movingtab] > #titlebar > #TabsToolbar {
-  padding-bottom: 15px;
-}
-
-#navigator-toolbox[movingtab] #tabbrowser-tabs {
+/* Make it easier to drag tabs by expanding the drag area downwards. */
+#tabbrowser-tabs[movingtab] {
   padding-bottom: 15px;
   margin-bottom: -15px;
 }
 
 #navigator-toolbox[movingtab] > #nav-bar {
-  margin-top: -15px;
   pointer-events: none;
 }
 
 /* Allow dropping a tab on buttons with associated drop actions. */
 #navigator-toolbox[movingtab] > #nav-bar > #nav-bar-customization-target > #personal-bookmarks,
 #navigator-toolbox[movingtab] > #nav-bar > #nav-bar-customization-target > #home-button,
 #navigator-toolbox[movingtab] > #nav-bar > #nav-bar-customization-target > #downloads-button,
 #navigator-toolbox[movingtab] > #nav-bar > #nav-bar-customization-target > #bookmarks-menu-button {