Fixed Drawer width on phone

This commit is contained in:
Simon Pocrnjič
2026-06-21 21:03:53 +02:00
parent 2e5532aaa8
commit ced80ebea6
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -755,7 +755,7 @@ const clientSummary = computed(() => {
<!-- Upload Document Drawer -->
<Drawer :open="docDialogOpen" @update:open="(val) => !val && closeDocDialog()">
<DrawerContent class="flex flex-col max-h-[90vh]">
<DrawerContent class="flex flex-col h-[90vh]">
<DrawerHeader class="border-b px-4 py-3 shrink-0">
<DrawerTitle>Dodaj dokument</DrawerTitle>
<p v-if="selectedContract" class="text-sm text-muted-foreground mt-1">
@@ -764,7 +764,7 @@ const clientSummary = computed(() => {
</p>
</DrawerHeader>
<ScrollArea class="flex-1 min-h-0">
<div class="px-4 py-4 space-y-4">
<div class="px-4 py-4 space-y-4 w-full min-w-0">
<div>
<Label for="docFile">Datoteka</Label>
<Input id="docFile" type="file" class="mt-1" @change="onPickDocument" />