make custom fields titles smaller on mobile devices
This commit is contained in:
committed by
Pete Matsyburka
parent
6d2a8ca3d3
commit
5bed6448dc
@@ -1,8 +1,9 @@
|
||||
<template>
|
||||
<div>
|
||||
<label
|
||||
v-if="showFieldNames"
|
||||
:for="isCodeSent ? 'one_time_code' : field.uuid"
|
||||
class="label text-2xl"
|
||||
class="label text-lg sm:text-2xl"
|
||||
:class="{ 'mb-2': !field.description }"
|
||||
>
|
||||
<MarkdownContent
|
||||
@@ -10,10 +11,7 @@
|
||||
:string="field.title"
|
||||
/>
|
||||
<template v-else>
|
||||
{{ showFieldNames && field.name ? field.name : t('verified_phone_number') }}
|
||||
<template v-if="!field.required">
|
||||
({{ t('optional') }})
|
||||
</template>
|
||||
{{ field.name || t('verified_phone_number') }}
|
||||
</template>
|
||||
</label>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user