From cd3b0607a58296dabfc8f8244df6fc7c2429be35 Mon Sep 17 00:00:00 2001 From: jialin Date: Mon, 12 Jan 2026 17:07:47 +0800 Subject: [PATCH] style: modal drawer blur --- src/global.less | 8 ++++++++ src/layouts/index.tsx | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/global.less b/src/global.less index d27b32b6..3c15b98d 100644 --- a/src/global.less +++ b/src/global.less @@ -815,3 +815,11 @@ body { .ant-pro-footer-bar { padding-inline: 0 !important; } + +.ant-modal-root .ant-modal-mask.ant-modal-mask-blur { + backdrop-filter: blur(2px); +} + +.ant-drawer .ant-drawer-mask.ant-drawer-mask-blur { + backdrop-filter: blur(2px); +} diff --git a/src/layouts/index.tsx b/src/layouts/index.tsx index 1871639c..7a82caea 100644 --- a/src/layouts/index.tsx +++ b/src/layouts/index.tsx @@ -321,12 +321,12 @@ export default (props: any) => { }} modal={{ mask: { - blur: false + blur: true } }} drawer={{ mask: { - blur: false + blur: true } }} >