📱 status

This commit is contained in:
Vanessa 2022-08-30 23:57:43 +08:00
parent 9acfd1fb58
commit 668cc4b17b
2 changed files with 3 additions and 2 deletions

View file

@ -304,7 +304,8 @@
white-space: nowrap;
width: 100%;
box-sizing: border-box;
background-color: var(--b3-theme-surface);
background-color: var(--b3-theme-background);
z-index: 221;
@extend .fn__ellipsis;
&--hide {

View file

@ -23,7 +23,7 @@ class ProtyleHtml extends HTMLElement {
let fatalHTML = ''
for (let i = 0; i < scripts.length; i++) {
if (scripts[i].textContent.indexOf('document.write') > -1) {
fatalHTML += `<div style="color:#d23f31;font-size: 12px">${window.siyuan.languages.htmlBlockError}</div>
fatalHTML += `<div style="color:var(--b3-theme-error);font-size: 12px">${window.siyuan.languages.htmlBlockError}</div>
<textarea style="width: 100%;box-sizing: border-box;height: 120px"><script>${scripts[i].textContent}</script></textarea>`
} else {
const s = document.createElement('script')