From cb83f1b45213985dd57a73df3dbc7c57d689032c Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Tue, 6 Dec 2022 03:14:18 +0900 Subject: [PATCH] Fix: Centered Label - Prevent overflow and unwinding #508 This is next commit's follow-up. https://github.com/black7375/Firefox-UI-Fix/commit/8ffcd5469786ab1e6806e190a9b1a732a8aba0fc --- css/leptonChrome.css | 2 +- src/centered/tab/_label.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/css/leptonChrome.css b/css/leptonChrome.css index 2fc97f5c..48042c21 100644 --- a/css/leptonChrome.css +++ b/css/leptonChrome.css @@ -6971,7 +6971,7 @@ } .tab-label, .tab-secondary-label { - overflow: hidden; + overflow: clip; } .tabbrowser-tab[selected]:not(:hover) .tab-label-container:not([textoverflow]), .tabbrowser-tab:not(:hover, [pinned]) .tab-label-container:not([textoverflow]) { diff --git a/src/centered/tab/_label.scss b/src/centered/tab/_label.scss index b5b25d0c..1cdb5dc4 100644 --- a/src/centered/tab/_label.scss +++ b/src/centered/tab/_label.scss @@ -6,10 +6,10 @@ } .tab-label, .tab-secondary-label { - overflow: hidden; + overflow: clip; } .tabbrowser-tab[selected]:not(:hover) .tab-label-container:not([textoverflow]), .tabbrowser-tab:not(:hover,[pinned]) .tab-label-container:not([textoverflow]) { - margin-inline-end: 5px; + margin-inline-end: 5px; // userChrome.tab.close_button_at_hover 6px - 1px }