Fixed Drawer width on phone
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user