From 29e1b5943bc5ee68b728aa57199fd88b728c4b55 Mon Sep 17 00:00:00 2001 From: Alexander Mikhaylenko Date: Mon, 1 Nov 2021 16:40:51 +0500 Subject: [PATCH] stylesheet: Style GtkWindowControls icon properly --- src/stylesheet/widgets/_header-bar.scss | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/stylesheet/widgets/_header-bar.scss b/src/stylesheet/widgets/_header-bar.scss index c803904ff..3bfee745a 100644 --- a/src/stylesheet/widgets/_header-bar.scss +++ b/src/stylesheet/widgets/_header-bar.scss @@ -42,12 +42,16 @@ headerbar { } windowcontrols { - button { + > button { min-height: 22px; min-width: 22px; margin: 0; padding: 4px; } + + > .icon { + margin: 7px; + } } } @@ -89,7 +93,7 @@ headerbar { windowcontrols { border-spacing: 3px; - button { + > button { min-width: 24px; padding: 5px; margin: 0; @@ -112,6 +116,10 @@ windowcontrols { &:hover > image { background-color: $button_hover_color; } &:hover:active > image { background-color: $button_active_color; } } + + > .icon { + margin: 9px; + } } /****************** -- GitLab