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) // 点击空白处关闭