mobile fixes

This commit is contained in:
Pete Matsyburka committed 2026-10-29 21:24:07 +02:00
1 parent 0a3f182e70
commit f9c12b9d78
23 files changed
+64 -45

No files matched your search

@@ -7,7 +7,7 @@
class="absolute top-0 bottom-0 right-0 left-0"
@click.prevent="$emit('close')"
/>
<div :class="inline ? 'px-4 pt-3 pb-6' : 'modal-box pt-4 pb-6 px-6 mt-20 max-h-none w-full max-w-xl'">
<div :class="inline ? (nativePlatform === 'android' ? 'px-4 pt-1.5 pb-6' : 'px-4 pt-3 pb-6') : 'modal-box pt-4 pb-6 px-6 mt-20 max-h-none w-full max-w-xl'">
<div
v-if="!inline"
class="flex justify-between items-center border-b pb-2 mb-2 font-medium"
@@ -27,7 +27,7 @@
<div>
<label
dir="auto"
class="label text-sm"
:class="['label text-sm', { 'pt-0 mt-1': inline && nativePlatform === 'android' }]"
for="description_field"
>
{{ t('description') }}
@@ -71,7 +71,7 @@
<script>
export default {
name: 'DescriptionModal',
inject: ['t', 'template'],
inject: ['t', 'template', 'nativePlatform'],
props: {
field: {
type: Object,