From: nana-4 Date: Mon, 18 May 2020 11:00:11 +0000 (+0900) Subject: Adwaita: Tweak padding in checkbutton & radiobutton X-Git-Tag: archive/raspbian/4.4.1+ds1-2+rpi1^2~18^2~17^2~6^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1c99dbc70ee90ba28b9bea0cb52f883ff0971df7;p=gtk4.git Adwaita: Tweak padding in checkbutton & radiobutton Since we can now use border-spacing in checkbutton and radiobutton, we don't need the margin in check and radio for spacing anymore. Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/2697 --- diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index ab39887d49..66e4e22b98 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -2397,16 +2397,12 @@ radiobutton { &.text-button { // this is for a nice focus on check and radios text - padding: 4px 2px; + padding: 4px; } } check, radio { - margin: 0 4px; - - &:only-child { margin: 0; } - min-height: 14px; min-width: 14px; border: 1px solid;