From 1c99dbc70ee90ba28b9bea0cb52f883ff0971df7 Mon Sep 17 00:00:00 2001 From: nana-4 Date: Mon, 18 May 2020 20:00:11 +0900 Subject: [PATCH] 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 --- gtk/theme/Adwaita/_common.scss | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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; -- 2.30.2