From 1bbdddf8e641535c3b10adbd0f1538e3ab29f7ea Mon Sep 17 00:00:00 2001 From: methodchen Date: Thu, 9 Mar 2023 10:46:19 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Ddialog=20=E5=9E=82?= =?UTF-8?q?=E7=9B=B4=E5=B1=85=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style/web/components/dialog/_index.less | 1 + 1 file changed, 1 insertion(+) diff --git a/style/web/components/dialog/_index.less b/style/web/components/dialog/_index.less index d15e486ca0..b7f3283b9d 100644 --- a/style/web/components/dialog/_index.less +++ b/style/web/components/dialog/_index.less @@ -252,6 +252,7 @@ // 因为内容会超出 使用flex布局 display: flex; justify-content: center; + min-height: 100%; width: 100%; // 通过修改position为absolute进行拖拽定位 position: relative; From eeb738021f5da49308a182a196728e4770ec9283 Mon Sep 17 00:00:00 2001 From: methodchen Date: Fri, 25 Aug 2023 17:04:50 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix(popup):=20=E7=AE=AD=E5=A4=B4=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- style/web/components/popup/_mixin.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/style/web/components/popup/_mixin.less b/style/web/components/popup/_mixin.less index 002552b4e4..61907f449e 100644 --- a/style/web/components/popup/_mixin.less +++ b/style/web/components/popup/_mixin.less @@ -56,6 +56,8 @@ .arrow-placement-top() { .@{prefix}-popup[data-popper-placement^="top"] .@{prefix}-popup__arrow { + bottom: calc(-@popup-arrow-width / 2); + &::before { border-top-left-radius: 100%; box-shadow: @popup-top-arrow-shadow;