This commit is contained in:
Vanessa 2023-06-22 22:39:41 +08:00
parent bfa957ff68
commit dd260ff4b0
3 changed files with 23 additions and 15 deletions

View file

@ -361,6 +361,9 @@
line-height: 28px;
transition: var(--b3-list-hover);
font-size: 16px;
background-color: transparent;
border: 0;
padding: 0;
&:hover {
background-color: var(--b3-theme-surface-lighter);

View file

@ -464,14 +464,13 @@
}
}
html .protyle-wysiwyg [spellcheck][contenteditable="true"]:empty:before {
html .protyle-wysiwyg [data-node-id]:last-child [spellcheck][contenteditable="true"]:empty:before {
content: "Enter text";
color: var(--b3-theme-on-surface-light);
}
html[lang="zh_CN"] .protyle-wysiwyg [spellcheck][contenteditable="true"]:empty:before {
html[lang="zh_CN"] .protyle-wysiwyg [data-node-id]:last-child [spellcheck][contenteditable="true"]:empty:before {
content: "键入文字";
color: var(--b3-theme-on-surface-light);
}