Skip to content

Commit a62f879

Browse files
committed
fix(checkboxes): padding between items
1 parent 690f58d commit a62f879

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

css/styles.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,12 +321,12 @@ form#plugin_formcreator_form {
321321
padding-left: 40px;
322322
}
323323

324-
.label-radio, .label-checkboxes {
324+
.label-radio, .label-checkbox {
325325
display: inline;
326326
margin-bottom: 0.2em;
327327
}
328328

329-
.radio, .checkboxes {
329+
.radio, .checkbox {
330330
padding-bottom: 1em;
331331
}
332332
}

inc/field/checkboxesfield.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function getRenderedHtml($domain, $canEdit = true): string {
110110
'zero_on_empty' => false,
111111
'checked' => in_array($value, $this->value)
112112
]);
113-
$html .= '<label for="' . $domId . '_' . $i . '" class="label-checkboxes" title="' . $translated_value . '">';
113+
$html .= '<label for="' . $domId . '_' . $i . '" class="label-checkbox" title="' . $translated_value . '">';
114114
$html .= '&nbsp;' . $translated_value;
115115
$html .= '</label>';
116116
$html .= "</div>";

0 commit comments

Comments
 (0)