[web] Fix spacing of radio buttons

This commit is contained in:
Alain Nussbaumer 2025-05-02 20:08:28 +02:00
parent 4577c7ace3
commit f037635042
2 changed files with 17 additions and 19 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,21 +1,19 @@
<template> <template>
<fieldset :disabled="disabled"> <fieldset :disabled="disabled" class="field">
<div class="field"> <label v-if="$slots.label" class="label has-text-weight-normal">
<label v-if="$slots.label" class="label has-text-weight-normal"> <slot name="label" />
<slot name="label" /> </label>
</label> <div class="control" :class="{ 'has-icons-right': isSuccess || isError }">
<div class="control" :class="{ 'has-icons-right': isSuccess || isError }"> <slot name="input" :setting="setting" :update="update" />
<slot name="input" :setting="setting" :update="update" /> <mdicon
<mdicon v-if="$slots.label && (isSuccess || isError)"
v-if="$slots.label && (isSuccess || isError)" class="icon is-right"
class="icon is-right" :name="isSuccess ? 'check' : 'close'"
:name="isSuccess ? 'check' : 'close'" size="16"
size="16" />
/> </div>
</div> <div v-if="$slots.help" class="help mb-4">
<div v-if="$slots.help" class="help mb-4"> <slot name="help" />
<slot name="help" />
</div>
</div> </div>
</fieldset> </fieldset>
</template> </template>