chore: bump version to v0.9.656 并调整widget关闭状态样式及禁用Shadow DOM模式
This commit is contained in:
+1
-1
@@ -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",
|
||||
|
||||
@@ -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
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user