From 9864b9bb5f41880a096cc9b52aff6493ed9f36df Mon Sep 17 00:00:00 2001 From: XiaoZhuo Date: Thu, 5 Oct 2023 18:33:55 +0800 Subject: [PATCH] =?UTF-8?q?avatar=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/client.js | 3 +-- public/weigets.js | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/client.js b/public/client.js index c60467d..54b9aee 100644 --- a/public/client.js +++ b/public/client.js @@ -275,8 +275,7 @@ export default class ClientList { padding: '5px 0', textAlign: 'center', position: 'absolute', - bottom: '-5px', - left: '85px', + bottom: '-2px', }, value: item.name ?? item.id, type: 'text', diff --git a/public/weigets.js b/public/weigets.js index c7e05d7..33a0c3a 100644 --- a/public/weigets.js +++ b/public/weigets.js @@ -62,11 +62,12 @@ export function Dialog(options) { top: 50%; left: 50%; transform: translate(-50%, -50%); - padding: 1em; background-color: #fff; border-radius: 150px; box-shadow: 0 0 1em #ccc; overflow: hidden; + display: flex; + justify-content: center; ` element.appendChild(content) // 点击空白处关闭