From 83491c14bb6f7ee356be237b139617bea3b70500 Mon Sep 17 00:00:00 2001 From: Tom Najdek Date: Mon, 29 Jan 2024 19:57:39 +0100 Subject: [PATCH] Fix descenders cut-off in tab titles on Windows --- scss/components/_tabBar.scss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scss/components/_tabBar.scss b/scss/components/_tabBar.scss index 80ed575fe8..a9c9d4cb58 100644 --- a/scss/components/_tabBar.scss +++ b/scss/components/_tabBar.scss @@ -161,8 +161,10 @@ min-width: 100px; height: 28px; line-height: 16px; - padding: 6px 22px 6px 6px; + padding-right: 22px; + padding-left: 6px; display: flex; + align-items: center; border-radius: 5px; transition: background-color 0.1s ease-out; -moz-window-dragging: no-drag; @@ -197,7 +199,7 @@ .tab-name { background: linear-gradient(to left, transparent 0px, var(--fill-primary) 20px) text; flex: 1 1 100%; - line-height: 16px; + line-height: 1.38461538em; margin-inline-start: 4px; overflow: hidden; text-align: left; @@ -211,6 +213,7 @@ .tab-icon { flex: 0 0 16px; + height: 16px; } .tab-close { @@ -225,7 +228,6 @@ left: 6px; } - top: 6px; width: 16px; height: 16px; text-align: center;