From 3058069e0ae76614ffbd1cb166997ec79807a078 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Sat, 17 Jun 2023 21:29:50 +0900 Subject: [PATCH] Fix: Tab Bar - Floorp vertical tabbar supports #710 --- css/leptonChrome.css | 6 +++++- src/tab/_connect_to_window.scss | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index be6017f2..61c7f748 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -6097,8 +6097,12 @@ /** Tab UI ********************************************************************/ /*= Tab - Connect to window ==============================================*/ @supports -moz-bool-pref("userChrome.tab.connect_to_window") { + #tabbrowser-tabs[orient="vertical"] { + --uc-tab-border-bottom-radius: var(--tab-border-radius); + } .tab-background { - border-radius: var(--tab-border-radius) var(--tab-border-radius) 0px 0px !important; + border-radius: var(--tab-border-radius) var(--tab-border-radius) var(--uc-tab-border-bottom-radius, 0px) + var(--uc-tab-border-bottom-radius, 0px) !important; margin-bottom: 0px !important; } .tab-content { diff --git a/src/tab/_connect_to_window.scss b/src/tab/_connect_to_window.scss index bf4b9daa..641130a4 100644 --- a/src/tab/_connect_to_window.scss +++ b/src/tab/_connect_to_window.scss @@ -1,5 +1,8 @@ +#tabbrowser-tabs[orient="vertical"] { + --uc-tab-border-bottom-radius: var(--tab-border-radius); +} .tab-background { - border-radius: var(--tab-border-radius) var(--tab-border-radius) 0px 0px !important; + border-radius: var(--tab-border-radius) var(--tab-border-radius) var(--uc-tab-border-bottom-radius, 0px) var(--uc-tab-border-bottom-radius, 0px) !important; margin-bottom: 0px !important; }