From 62b72ed5c9359c0b2332996526a2d399d31bcd15 Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Tue, 8 Jun 2021 20:53:00 +0300 Subject: [PATCH] make proton compatible --- chrome/click_selected_tab_to_focus_urlbar.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/chrome/click_selected_tab_to_focus_urlbar.css b/chrome/click_selected_tab_to_focus_urlbar.css index 42396c8..68da5ac 100644 --- a/chrome/click_selected_tab_to_focus_urlbar.css +++ b/chrome/click_selected_tab_to_focus_urlbar.css @@ -10,6 +10,8 @@ See the above repository for updates as well as full license text. */ /* Make selected tab unclickable so click goes to the capture box, obviously it can't be clicked at all anymore */ /* remove the :not([pinned]) bit to make clicking pinned tab AROUND the tab-icon focus urlbar*/ +:root{ --tab-block-margin: var(--proton-tab-block-margin) } + .tabbrowser-tab:not([pinned])[selected]{ pointer-events: none } /* Add back pointer-events to several elements so UI remains usable */ @@ -28,7 +30,7 @@ See the above repository for updates as well as full license text. */ top: 0; left: 0; width: calc(100vw - 138px); - height: var(--tab-min-height); + height: calc(var(--tab-min-height) + 2*var(--tab-block-margin)); content: ""; }