Skip to content

Commit fb75b6a

Browse files
authored
[6.x] Minor adjustment to label margin (#14139)
Minor adjustment to label margin based on fields such as checkboxes and radios
1 parent 8ec6a34 commit fb75b6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/components/ui/Field.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ const hasErrors = computed(() => {
110110
</slot>
111111
<slot name="actions" />
112112
</div>
113-
<div v-if="label || (instructions && !instructionsBelow) || ($slots.label && !$slots.actions)" data-ui-field-text :class="inline ? 'mb-0' : 'mb-1.5'">
113+
<div v-if="label || (instructions && !instructionsBelow) || ($slots.label && !$slots.actions)" data-ui-field-text :class="inline ? 'mb-0' : 'mb-2'">
114114
<slot v-if="!$slots.actions" name="label">
115115
<Label v-if="label" v-bind="labelProps" class="flex-1" />
116116
</slot>

0 commit comments

Comments
 (0)