From f8fe93a6322bde140e21d95fe4a86a9fa2ce59cb Mon Sep 17 00:00:00 2001 From: Thierry Bugier Date: Mon, 6 Mar 2023 11:02:41 +0100 Subject: [PATCH] fix(checkboxes): better display --- css/styles.scss | 4 ++-- inc/field/checkboxesfield.class.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/css/styles.scss b/css/styles.scss index 76d432288..c38d1f2ac 100644 --- a/css/styles.scss +++ b/css/styles.scss @@ -321,12 +321,12 @@ form#plugin_formcreator_form { padding-left: 40px; } - .label-radio { + .label-radio, .label-checkboxes { display: inline; margin-bottom: 0.2em; } - .radio { + .radio, .checkboxes { padding-bottom: 1em; } } diff --git a/inc/field/checkboxesfield.class.php b/inc/field/checkboxesfield.class.php index 0287b1171..bc1a4e016 100644 --- a/inc/field/checkboxesfield.class.php +++ b/inc/field/checkboxesfield.class.php @@ -110,7 +110,7 @@ public function getRenderedHtml($domain, $canEdit = true): string { 'zero_on_empty' => false, 'checked' => in_array($value, $this->value) ]); - $html .= '