chore: bump version to v0.9.656 并调整widget关闭状态样式及禁用Shadow DOM模式

This commit is contained in:
haorwen
2026-03-15 08:59:31 +08:00
committed by cnb
parent 0ad7764e3e
commit e332df0166
3 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "vocechat-web",
"version": "0.9.65",
"version": "0.9.66",
"homepage": "https://voce.chat",
"dependencies": {
"@metamask/onboarding": "^1.0.1",
+7
View File
@@ -25,6 +25,13 @@
html.dark.close #root {
background: transparent;
}
/* 关闭状态下,Icon 定位在右下角 */
html.close #root {
display: flex;
align-items: flex-end;
justify-content: flex-end;
padding: 16px;
}
</style>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
+1 -2
View File
@@ -19,7 +19,7 @@
popupImage = "",
popupClosable = "true",
showPopup = "true",
useShadowDom = "true"
useShadowDom = "false"
} = d.currentScript.dataset;
const _src = d.currentScript.src;
const origin = new URL(_src).origin;
@@ -31,7 +31,6 @@
const baseStyles = {
position: "fixed",
right: "16px",
[position]: "16px", // [position] = [right] or [left]
bottom: "16px",
border: "none",