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
@@ -380,13 +380,13 @@ watch(
<template>
<Drawer :open="show" @update:open="(val) => !val && close()">
<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 aktivnost</DrawerTitle>
</DrawerHeader>
<ScrollArea class="flex-1 min-h-0">
<form @submit.prevent="store" class="px-4 py-4 space-y-4">
<form @submit.prevent="store" class="px-4 py-4 space-y-4 w-full min-w-0">
<div class="space-y-2">
<Label>Akcija</Label>
<Select v-model="form.action_id" :disabled="!actions || !actions.length">