From 0de96f4ca337566d6346af2b355f6c19e11ff11f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 2 May 2024 09:40:28 -0400 Subject: [PATCH] theme: Reduce the height of titlebars The height of our titlebars is geared towards headerbars that can host controls. For a traditional title-only titlebar, a smaller footprint is sufficient and frees up some valuable vertical space. --- gtk/theme/Adwaita/_common.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index b9db6041d5..a1e29dd04b 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -1757,14 +1757,15 @@ headerbar { } &.default-decoration { - min-height: 28px; - padding: 4px; + padding: 0px 2px; button.titlebutton { - min-height: 26px; - min-width: 26px; + min-height: 18px; + min-width: 18px; margin: 0; padding: 0; + min-height: 0; + min-width: 0; } } -- 2.44.0