From bbb2d9dae12b8cd89e102ac94f9fadb6f1ec431e Mon Sep 17 00:00:00 2001 From: mgarcia Date: Mon, 16 Apr 2018 09:54:12 +0800 Subject: [PATCH 1/2] DD-3465: Radio button hit area is too wide --- client/common/directives/ModelField/ModelField.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/client/common/directives/ModelField/ModelField.js b/client/common/directives/ModelField/ModelField.js index f82e7d63..47c8198b 100644 --- a/client/common/directives/ModelField/ModelField.js +++ b/client/common/directives/ModelField/ModelField.js @@ -161,10 +161,12 @@ angular.module('dashboard.directives.ModelField', [ ngOptions = 'text in display.options'; } template = '\ -
\ - \ +
\ +
\ + \
{{ display.description }}
\ -
'; +
\ +
'; break; case 'slider': template = '\ From b485be3af8f21ec04407280068aeff231a49a200 Mon Sep 17 00:00:00 2001 From: mgarcia Date: Mon, 16 Apr 2018 10:20:44 +0800 Subject: [PATCH 2/2] Override radio class style --- client/css/main.styl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/css/main.styl b/client/css/main.styl index ee37b631..ae4afcfd 100644 --- a/client/css/main.styl +++ b/client/css/main.styl @@ -30,3 +30,6 @@ a:hover .no-script-warning padding: 10px text-align: center +.radio + margin-top: 0px + margin-bottom: 0px \ No newline at end of file