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"
@@ -32,7 +32,7 @@
class="link"
>{{ t('available_in_pro') }}</a>
</div>
<div class="flex flex-wrap mb-2 gap-y-1 pt-1">
<div :class="['flex flex-wrap mb-2 gap-y-1', inline && nativePlatform === 'android' ? 'mt-1' : 'pt-1']">
<button
v-for="f in fields"
:key="f.uuid"
@@ -152,7 +152,7 @@ export default {
IconCodePlus,
IconMathFunction
},
inject: ['t', 'template', 'withFormula'],
inject: ['t', 'template', 'withFormula', 'nativePlatform'],
props: {
field: {
type: Object,