mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
feat: 固定定位
This commit is contained in:
parent
94689fd730
commit
0ed31af61b
|
|
@ -27,7 +27,7 @@
|
|||
</svg>`;
|
||||
chat_button = document.createElement("div");
|
||||
chat_button.style =
|
||||
"position: absolute;bottom: 40px;right: 20px;cursor: pointer;";
|
||||
"position: fixed;bottom: 40px;right: 20px;cursor: pointer;";
|
||||
chat_button.innerHTML = icon;
|
||||
|
||||
chat_container = document.createElement("div");
|
||||
|
|
@ -37,7 +37,7 @@
|
|||
height: 600px;
|
||||
border: none;
|
||||
border-radius: 7px 7px 7px 7px;
|
||||
position: absolute;bottom: 40px;right: 20px`;
|
||||
position: fixed;bottom: 40px;right: 20px`;
|
||||
chat_container.style["display"] = "none";
|
||||
|
||||
chat = document.createElement("iframe");
|
||||
|
|
|
|||
Loading…
Reference in New Issue