From e6de01d88bfc46f3dcecbaf56d2aedfb698bab74 Mon Sep 17 00:00:00 2001 From: "f.paghar@gmail.com" Date: Tue, 25 Apr 2023 17:02:30 +0330 Subject: [PATCH] fix(modal): overflow bug fix #537 --- src/lib/theme/default.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/theme/default.ts b/src/lib/theme/default.ts index befd74785..141bddcf4 100644 --- a/src/lib/theme/default.ts +++ b/src/lib/theme/default.ts @@ -544,10 +544,10 @@ const theme: FlowbiteTheme = { }, content: { base: 'relative h-full w-full m-auto p-4 md:h-auto', - inner: 'relative rounded-lg bg-white shadow dark:bg-gray-700', + inner: 'relative rounded-lg bg-white shadow dark:bg-gray-700 flex flex-col max-h-[90vh]', }, body: { - base: 'p-6', + base: 'p-6 flex-1 overflow-auto', popup: 'pt-0', }, header: {