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.
This commit is contained in:
Alx Sa 2026-02-12 01:30:58 +00:00
parent c3ed54e8d7
commit 9e277c3944

View file

@ -57,7 +57,8 @@
.view header button { .view header button {
background-color: @bg-color; 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. */ /* ListBox when used as a view. Selected items. */
@ -601,12 +602,14 @@ GimpSpinScale button {
border-color: @border-color; border-color: @border-color;
border-radius: 0px 0px 0px 0px; border-radius: 0px 0px 0px 0px;
box-shadow: 0px 0.5px @stronger-border-color; box-shadow: 0px 0.5px @stronger-border-color;
margin-right: 0px;
} }
/* Round the right-side edge of the end button */ /* Round the right-side edge of the end button */
GimpSpinScale button:nth-child(odd) { GimpSpinScale button:nth-child(odd) {
border-left-width: 0px; border-left-width: 0px;
border-radius: 0px 5px 5px 0px; border-radius: 0px 5px 5px 0px;
margin-right: 0px;
} }
/* Checkboxes */ /* Checkboxes */