From d42daf9ce014b6ca8474957abaa566f0d5ef400c Mon Sep 17 00:00:00 2001 From: Netfan Date: Sat, 7 Dec 2024 11:00:53 +0800 Subject: [PATCH] fix: modal radius not follow preferences (#5063) --- packages/@core/ui-kit/popup-ui/src/modal/modal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@core/ui-kit/popup-ui/src/modal/modal.vue b/packages/@core/ui-kit/popup-ui/src/modal/modal.vue index e701f565..80a657fa 100644 --- a/packages/@core/ui-kit/popup-ui/src/modal/modal.vue +++ b/packages/@core/ui-kit/popup-ui/src/modal/modal.vue @@ -172,7 +172,7 @@ function handleFocusOutside(e: Event) { ref="contentRef" :class=" cn( - 'left-0 right-0 top-[10vh] mx-auto flex max-h-[80%] w-[520px] flex-col p-0 sm:rounded-2xl', + 'left-0 right-0 top-[10vh] mx-auto flex max-h-[80%] w-[520px] flex-col p-0 sm:rounded-[var(--radius)]', modalClass, { 'border-border border': bordered,