popups form refactoring

This commit is contained in:
Čarodej
2021-11-23 09:23:25 +01:00
parent 21d75678c0
commit b6c77a6685
11 changed files with 336 additions and 164 deletions

View File

@@ -2,7 +2,7 @@
<div :class="{'mb-7': !isLast}">
<!--Label for input-->
<label class="text-sm font-bold text-gray-700 mb-1.5 block">
<label v-if="title" class="text-sm font-bold text-gray-700 mb-1.5 block">
{{ title }}:
</label>
@@ -10,7 +10,7 @@
<slot></slot>
<!--Input Description-->
<small v-if="description" class="text-xs text-gray-500 leading-normal" v-html="description"></small>
<small v-if="description" class="text-xs text-gray-500 leading-normal -mt-0.5 block" v-html="description"></small>
<!--Input Description-->
<span v-if="error" class="text-red-700 pt-2 text-xs">