From a383071f10033708775492077198e35b80888bc8 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Sun, 17 Apr 2022 15:56:22 +0300 Subject: [PATCH] remove legacy .tabbrowser-arrowscrollbox selectors --- chrome/hide_tabs_with_one_tab.css | 1 - .../hide_tabs_with_one_tab_w_window_controls.css | 1 - chrome/pinned_tabs_on_right.css | 15 ++++++++++----- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/chrome/hide_tabs_with_one_tab.css b/chrome/hide_tabs_with_one_tab.css index b6b07f8..927c971 100644 --- a/chrome/hide_tabs_with_one_tab.css +++ b/chrome/hide_tabs_with_one_tab.css @@ -10,7 +10,6 @@ See the above repository for updates as well as full license text. */ #TabsToolbar{ min-height: 0px !important } #tabbrowser-tabs, -#tabbrowser-tabs > .tabbrowser-arrowscrollbox, #tabbrowser-arrowscrollbox{ min-height: 0 !important; } :root:not([customizing]) #tabbrowser-tabs .tabs-newtab-button, diff --git a/chrome/hide_tabs_with_one_tab_w_window_controls.css b/chrome/hide_tabs_with_one_tab_w_window_controls.css index b62d16b..881b31b 100644 --- a/chrome/hide_tabs_with_one_tab_w_window_controls.css +++ b/chrome/hide_tabs_with_one_tab_w_window_controls.css @@ -16,7 +16,6 @@ Window controls will be all wrong without it #TabsToolbar > .titlebar-buttonbox-container { display: none } #tabbrowser-tabs, -#tabbrowser-tabs > .tabbrowser-arrowscrollbox, #tabbrowser-arrowscrollbox{ min-height: 0 !important; } #TabsToolbar > .titlebar-spacer[type="post-tabs"]{ diff --git a/chrome/pinned_tabs_on_right.css b/chrome/pinned_tabs_on_right.css index a0fa479..f49fade 100644 --- a/chrome/pinned_tabs_on_right.css +++ b/chrome/pinned_tabs_on_right.css @@ -4,14 +4,19 @@ See the above repository for updates as well as full license text. */ /* Show pinned tabs on right side of normal tabs */ /* This is stupid hack that barely works and might lead to some very unexpected behavior */ -.tabbrowser-arrowscrollbox > spacer, .scrollbutton-up[orient="horizontal"]~spacer{ display: none } -.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox, -.scrollbutton-up[orient="horizontal"]~scrollbox{ -moz-box-direction: inherit; -moz-box-pack: end } +.scrollbutton-up[orient="horizontal"]~scrollbox{ + -moz-box-direction: inherit; + -moz-box-pack: end; +} -.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox::after, -.scrollbutton-up[orient="horizontal"]~scrollbox::after{ display: -moz-box; content: ""; -moz-box-flex: 1; -moz-box-ordinal-group: 2 } +.scrollbutton-up[orient="horizontal"]~scrollbox::after{ + display: -moz-box; + content: ""; + -moz-box-flex: 1; + -moz-box-ordinal-group: 2; +} #tabs-newtab-button{ -moz-box-ordinal-group: 2 } .tabbrowser-tab[pinned]{ -moz-box-ordinal-group: 3 }