斗技初始化,调整部分样式

This commit is contained in:
2025-03-21 22:59:37 +08:00
parent 08bb1bdb7f
commit fd7c7ef660
3 changed files with 291 additions and 10 deletions

View File

@@ -264,7 +264,18 @@ const prepareCapture = async () => {
// 创建临时样式
const style = document.createElement('style');
style.textContent = `.ql-container.ql-snow { border: none !important; }`;
style.textContent = `
.ql-container.ql-snow {
border: none !important;
}
#main-container {
position: relative;
height: 100%;
overflow-y: auto;
min-height: 100vh;
display: inline-block;
max-width: 100%;
}`;
document.head.appendChild(style);
// 获取目标元素