make custom fields titles smaller on mobile devices

This commit is contained in:
Alex Turchyn
2025-01-27 13:30:34 +02:00
committed by Pete Matsyburka
parent 6d2a8ca3d3
commit 5bed6448dc
12 changed files with 78 additions and 42 deletions
@@ -5,17 +5,18 @@
:class="{ 'mb-2': !field.description }"
>
<label
class="label text-2xl"
v-if="showFieldNames"
class="label text-lg sm:text-2xl"
>
<MarkdownContent
v-if="field.title"
:string="field.title"
/>
<template v-else>
{{ showFieldNames && field.name ? field.name : t('initials') }}
{{ field.name || t('initials') }}
</template>
</label>
<div class="space-x-2 flex">
<div class="space-x-2 flex flex-none">
<span
v-if="isDrawInitials"
class="tooltip"