From 664ec7cc0468962aefaba4ac8a1594154530b294 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Sat, 27 May 2023 22:03:16 +0800 Subject: [PATCH] update --- src/other/firefox/WhiteSur/parts/tabsbar.css | 4 +++- src/other/firefox/common/parts/icons.css | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/other/firefox/WhiteSur/parts/tabsbar.css b/src/other/firefox/WhiteSur/parts/tabsbar.css index 5416131..a761e17 100644 --- a/src/other/firefox/WhiteSur/parts/tabsbar.css +++ b/src/other/firefox/WhiteSur/parts/tabsbar.css @@ -92,7 +92,7 @@ tab[selected]:-moz-window-inactive { flex-direction: row; justify-content: center !important; align-items: center !important; - min-width: 100% !important; + min-width: 44px !important; padding: 0 8px !important; } @@ -117,6 +117,8 @@ tab[selected]:-moz-window-inactive { /* Adjust tab label width */ .tab-label-container { min-width: 0 !important; +} +.tabbrowser-tab:not([pinned]) .tab-label-container { max-width: min-content !important; } diff --git a/src/other/firefox/common/parts/icons.css b/src/other/firefox/common/parts/icons.css index 54bf9e4..bce8ab0 100644 --- a/src/other/firefox/common/parts/icons.css +++ b/src/other/firefox/common/parts/icons.css @@ -553,10 +553,11 @@ toolbar:not([brighttext]) .webextension-browser-action:-moz-lwtheme { list-style-image: url("../icons/info-symbolic.svg") !important; } -.tabbrowser-tab[image="chrome://global/skin/icons/info.svg"]:not([busy]):not([progress]):not([crashed]) .tab-icon-stack .tab-icon-image { +.tabbrowser-tab[image="chrome://global/skin/icons/info.svg"]:not([busy]):not([progress]) .tab-icon-stack::before { + content: ""; height: 16px; width: 16px; - list-style-image: url("../icons/info-symbolic.svg") !important; + background-image: url("../icons/info-symbolic.svg") !important; } /* Password */ @@ -783,7 +784,7 @@ treechildren::-moz-tree-image { } .tabbrowser-tab[image="chrome://global/skin/icons/info.svg"]:not([busy]):not([progress]):not([crashed]) .tab-icon-stack::before { - list-style-image: url("../icons/info-symbolic-light.svg") !important; + background-image: url("../icons/info-symbolic-light.svg") !important; } #sidebar-box[sidebarcommand="viewTabsSidebar"] > #sidebar-header > #sidebar-switcher-target > #sidebar-icon,