From a46f5876950f43d70994603a32c6045112dac0ac Mon Sep 17 00:00:00 2001 From: ediblerope Date: Thu, 16 Apr 2026 14:57:03 +0100 Subject: [PATCH] Add Vesktop title bar and toolbar padding fixes to matugen template Hide Midnight's window controls and trailing section since GNOME handles decorations, and remove the 158px padding gap left behind. Co-Authored-By: Claude Opus 4.6 --- templates/vesktop-quickCss.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/templates/vesktop-quickCss.css b/templates/vesktop-quickCss.css index 174c6a5..22b7e78 100644 --- a/templates/vesktop-quickCss.css +++ b/templates/vesktop-quickCss.css @@ -22,3 +22,18 @@ --accent-5: {{colors.primary_container.default.hex}}; --accent-new: {{colors.primary.default.hex}}; } + +/* Hide Midnight's custom title bar and trailing section — GNOME handles window decorations */ +[class*="titleBar_"], +[class*="winButton_"], +[class*="wordmarkWindows_"], +[class*="trailing_"] { + display: none !important; + width: 0 !important; + overflow: hidden !important; +} + +/* Remove Midnight's padding reserved for hidden window buttons */ +[class*="toolbar_"] { + padding-right: 0 !important; +}