From ad85b368a691e0e01d6067b3508ed5f57e376945 Mon Sep 17 00:00:00 2001 From: fatemeh paghar <66066475+paghar@users.noreply.github.com> Date: Thu, 25 May 2023 16:53:17 +0200 Subject: [PATCH] fix(modal): overflow bug fix (#718) #537 Co-authored-by: f.paghar@gmail.com --- 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: {