From 2bbe1754ed81a957f1c3c8798a71abac56276cad Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Wed, 30 Oct 2024 14:36:33 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=B5=AE=E7=AA=97?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E5=B5=8C=E5=85=A5=E7=AC=AC=E4=B8=89=E6=96=B9?= =?UTF-8?q?=EF=BC=8C=E5=85=A5=E5=8F=A3=E4=BD=8D=E7=BD=AE=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E5=90=8E=E5=BC=95=E5=AF=BC=E5=9B=BE=E6=B2=A1=E6=9C=89=E8=B7=9F?= =?UTF-8?q?=E9=9A=8F=E5=8F=98=E6=9B=B4=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/application/template/embed.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/application/template/embed.js b/apps/application/template/embed.js index 47806b8b2..e3d9f1862 100644 --- a/apps/application/template/embed.js +++ b/apps/application/template/embed.js @@ -173,8 +173,8 @@ function initMaxkbStyle(root){ } #maxkb .maxkb-tips { position: fixed; - bottom: 30px; - right: 66px; + {{x_type}}:calc({{x_value}}px + 75px); + {{y_type}}: calc({{y_value}}px + 0px); padding: 22px 24px 24px; border-radius: 6px; color: #ffffff; @@ -191,8 +191,8 @@ function initMaxkbStyle(root){ transform: rotate(45deg); box-sizing: border-box; /* left */ - right: -5px; - bottom: 33px; + {{x_type}}: -5px; + {{y_type}}: 33px; border-left-color: transparent; border-bottom-color: transparent }