From 9e277c39446b7b40ce64aa0b338dfb2e71317888 Mon Sep 17 00:00:00 2001 From: Alx Sa Date: Thu, 12 Feb 2026 01:30:58 +0000 Subject: [PATCH] themes: Define some margin-right values 240160f3 added some unintentionally margin-right values for buttons in GimpSpinScale and the header icons in the GimpLayerTreeView. This patch adds definitions to those CSS styles to override the general addition of the 4px margin-right values. --- themes/Default/common.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/themes/Default/common.css b/themes/Default/common.css index fa5e540448..e0deacc736 100644 --- a/themes/Default/common.css +++ b/themes/Default/common.css @@ -57,7 +57,8 @@ .view header button { background-color: @bg-color; - border: 1px solid @stronger-border-color; + border: 1px solid @stronger-border-color; + margin-right: 0px; } /* ListBox when used as a view. Selected items. */ @@ -601,12 +602,14 @@ GimpSpinScale button { border-color: @border-color; border-radius: 0px 0px 0px 0px; box-shadow: 0px 0.5px @stronger-border-color; + margin-right: 0px; } /* Round the right-side edge of the end button */ GimpSpinScale button:nth-child(odd) { border-left-width: 0px; border-radius: 0px 5px 5px 0px; + margin-right: 0px; } /* Checkboxes */