From d04ec114e631fba3d3c78b170d7d946a46e6e32f Mon Sep 17 00:00:00 2001 From: jin0209 <270246430@qq.com> Date: Tue, 29 Mar 2022 10:23:36 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20iphone=E4=B8=8B1px=E8=BE=B9=E6=A1=86?= =?UTF-8?q?=E6=B6=88=E5=A4=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/dialog/dialog.less | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/dialog/dialog.less b/src/dialog/dialog.less index 43b0cbd46..ce0ab7b46 100644 --- a/src/dialog/dialog.less +++ b/src/dialog/dialog.less @@ -93,9 +93,21 @@ height: @dialog-btn-height; line-height: @dialog-btn-height; border-radius: 0; - border: 1rpx solid @border-color; - border-left: 0; - border-bottom: 0; + border: 0; + + &:before { + content: ' '; + position: absolute; + box-sizing: border-box; + top: 0; + left: 0; + border-top: 1px solid @border-color; + border-left: 1px solid @border-color; + transform: scale(0.5); + transform-origin: 0 0; + width: 200%; + height: 200%; + } &-half { width: (@dialog-width / 2);