feat(Checkbox): config label, required and help size

This commit is contained in:
Benjamin Canac
2023-11-19 13:17:52 +01:00
parent d4f1b5ef82
commit a1b38c4b66
2 changed files with 4 additions and 4 deletions

View File

@@ -17,7 +17,7 @@
@change="onChange"
>
</div>
<div v-if="label || $slots.label" class="ms-3 text-sm">
<div v-if="label || $slots.label" class="ms-3 flex flex-col">
<label :for="inputId" :class="ui.label">
<slot name="label">{{ label }}</slot>
<span v-if="required" :class="ui.required">*</span>