From e1f73301ac6e28949e5780e7108f63784e7f6869 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 8 Sep 2017 10:21:11 +0100 Subject: [PATCH] dev: decrease padding on radios and checkboxes --- app/assets/sass/components/_checkboxes.scss | 4 ++-- app/assets/sass/components/_radios.scss | 6 ------ app/views/components/radios.html | 5 ----- 3 files changed, 2 insertions(+), 13 deletions(-) diff --git a/app/assets/sass/components/_checkboxes.scss b/app/assets/sass/components/_checkboxes.scss index 1f62176f..9635336b 100644 --- a/app/assets/sass/components/_checkboxes.scss +++ b/app/assets/sass/components/_checkboxes.scss @@ -1,8 +1,8 @@ .multiple-choice--hod { .multiple-choice { - padding-top: 3px; - padding-bottom: 4px; + padding-top: 1px; + padding-bottom: 2px; } } diff --git a/app/assets/sass/components/_radios.scss b/app/assets/sass/components/_radios.scss index 39627d30..1b7cfc89 100644 --- a/app/assets/sass/components/_radios.scss +++ b/app/assets/sass/components/_radios.scss @@ -1,10 +1,4 @@ -.multiple-choice--hod { - .multiple-choice { - padding-top: 3px; - padding-bottom: 4px; - } -} .multiple-choice--hod [type=radio] + label::before { width: 24px; diff --git a/app/views/components/radios.html b/app/views/components/radios.html index 4027df3c..57096583 100644 --- a/app/views/components/radios.html +++ b/app/views/components/radios.html @@ -28,11 +28,6 @@

Example component

- -