From ee4afb507e4b30ceed1e5bde9e24991273c8bdb5 Mon Sep 17 00:00:00 2001 From: GZTime Date: Mon, 7 Aug 2023 11:44:01 +0800 Subject: [PATCH] fix(style): set withinPortal to true by default for Popover --- src/GZCTF/ClientApp/src/utils/ThemeOverride.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GZCTF/ClientApp/src/utils/ThemeOverride.ts b/src/GZCTF/ClientApp/src/utils/ThemeOverride.ts index 30a55f8fd..a565dee30 100644 --- a/src/GZCTF/ClientApp/src/utils/ThemeOverride.ts +++ b/src/GZCTF/ClientApp/src/utils/ThemeOverride.ts @@ -86,9 +86,9 @@ export const ThemeOverride: MantineThemeOverride = { centered: true, }, }, - DatePickerInput: { + Popover: { defaultProps: { - popoverProps: { withinPortal: true }, + withinPortal: true, }, }, Notification: {