浏览代码

fix: modal radius not follow preferences (#5063)

Netfan 5 月之前
父节点
当前提交
d42daf9ce0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/@core/ui-kit/popup-ui/src/modal/modal.vue

+ 1 - 1
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,