1
0
forked from test/crm

fix: do not overflow modal content

This commit is contained in:
Shariq Ansari 2024-07-02 14:00:53 +05:30
parent d585a98ef3
commit 31e4f2cf93
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
<template>
<Dialog v-model="show" :options="{ size: '3xl' }">
<template #body>
<div class="flex flex-col overflow-hidden">
<div class="flex flex-col overflow-hidden h-[calc(100vh_-_8rem)]">
<div class="flex flex-col gap-2 p-8 pb-5">
<h2 class="flex gap-2 text-xl font-semibold leading-none h-5 mb-4">
<div>{{ __('Edit Quick Entry Layout') }}</div>

View File

@ -1,7 +1,7 @@
<template>
<Dialog v-model="show" :options="{ size: '3xl' }">
<template #body>
<div ref="parentRef" class="flex h-full">
<div ref="parentRef" class="flex h-[calc(100vh_-_8rem)]">
<div class="flex-1 flex flex-col justify-between gap-2 p-8">
<div class="flex flex-col gap-2">
<h2 class="flex gap-2 text-xl font-semibold leading-none h-5 mb-4">