1
0
Эх сурвалжийг харах

fix: 全屏状态下弹窗圆角优化 (#6413)

yuhengshen 3 өдөр өмнө
parent
commit
2f7d1f009d

+ 2 - 1
packages/@core/ui-kit/popup-ui/src/modal/modal.vue

@@ -226,7 +226,8 @@ function handleClosed() {
       :append-to="getAppendTo"
       :class="
         cn(
-          'left-0 right-0 top-[10vh] mx-auto flex max-h-[80%] w-[520px] flex-col p-0 sm:rounded-[var(--radius)]',
+          'left-0 right-0 top-[10vh] mx-auto flex max-h-[80%] w-[520px] flex-col p-0',
+          shouldFullscreen ? 'sm:rounded-none' : 'sm:rounded-[var(--radius)]',
           modalClass,
           {
             'border-border border': bordered,