add ui classes

This commit is contained in:
Alex Turchyn
2025-03-18 17:34:11 +02:00
committed by GitHub
parent 3ae98bf03e
commit 64d3360e82
30 changed files with 124 additions and 130 deletions
@@ -8,12 +8,12 @@
/>
<div class="modal-box pt-4 pb-6 px-6 mt-20 max-h-none w-full max-w-xl">
<div class="flex justify-between items-center border-b pb-2 mb-2 font-medium">
<span>
<span class="modal-title">
{{ t('font') }} - {{ field.name || buildDefaultName(field, template.fields) }}
</span>
<a
href="#"
class="text-xl"
class="text-xl modal-close-button"
@click.prevent="$emit('close')"
>&times;</a>
</div>
@@ -21,7 +21,7 @@
<div>
<div class="flex items-center space-x-1.5">
<span>
<div class="dropdown">
<div class="dropdown modal-field-font-dropdown">
<label
tabindex="0"
class="base-input flex items-center justify-between items-center"
@@ -134,7 +134,7 @@
</div>
<div class="mt-4">
<div
class="flex items-center border border-base-content/20 rounded-xl bg-white px-4 h-16"
class="flex items-center border border-base-content/20 rounded-xl bg-white px-4 h-16 modal-field-font-preview"
:style="{
color: preferences.color || 'black',
fontSize: (preferences.font_size || 12) + 'pt',
@@ -151,7 +151,7 @@
</div>
<div class="mt-4">
<button
class="base-button w-full"
class="base-button w-full modal-save-button"
@click.prevent="saveAndClose"
>
{{ t('save') }}