|
|
|
@ -227,7 +227,7 @@ const buttonDisabled = computed(() => {
|
|
|
|
|
const footerClass = computed(() => {
|
|
|
|
|
let classes = ['p-4']
|
|
|
|
|
if (isMobile.value)
|
|
|
|
|
classes = [...classes, 'pl-2', 'pt-2', 'pb-2', 'fixed', 'bottom-0', 'left-0', 'right-0', 'z-30']
|
|
|
|
|
classes = ['p-2', 'pr-4', 'fixed', 'bottom-4', 'left-0', 'right-0', 'z-30', 'h-14', 'overflow-hidden']
|
|
|
|
|
return classes
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
@ -242,7 +242,7 @@ onUnmounted(() => {
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
|
<div class="flex flex-col h-full">
|
|
|
|
|
<div class="flex flex-col h-full pt-14 pb-14">
|
|
|
|
|
<main class="flex-1 overflow-hidden">
|
|
|
|
|
<div ref="scrollRef" class="h-full p-4 overflow-hidden overflow-y-auto" :class="[{ 'p-2': isMobile }]">
|
|
|
|
|
<template v-if="!dataSources.length">
|
|
|
|
|