fix: upload image size

This commit is contained in:
puriphatt 2024-07-25 04:04:28 +00:00
parent 57573e449e
commit cc7d6b0a24
2 changed files with 2 additions and 2 deletions

View file

@ -208,7 +208,7 @@ const currentTab = defineModel<string>('currentTab');
v-if="!noAppBox"
bordered
class="column surface-1 bordered rounded col"
:class="`${$slots.prepend ? ($q.screen.gt.sm ? 'col-10' : 'col-12') : $slots.append ? 'col-6' : 'col-12'} ${!noPaddingTab && 'q-pt-lg q-pl-lg'} ${$q.screen.gt.xs && 'full-height scroll'}`"
:class="`${$slots.prepend ? ($q.screen.gt.sm ? 'col-10' : 'col-12') : $slots.append ? 'col-6' : 'col-12'} ${!noPaddingTab && 'q-pt-lg q-pl-lg'} ${$q.screen.gt.md && 'full-height scroll'}`"
style="padding-right: 0; padding-bottom: 16px"
>
<div

View file

@ -28,7 +28,7 @@ defineEmits<{
<div class="text-center">
<div
class="upload-img-preview"
:style="$q.screen.lt.md ? 'height: 200px' : 'height: 12vh'"
:style="$q.screen.lt.md ? 'height: 200px' : 'height: 12vw'"
>
<q-img
v-if="urlProfile"