fix: preserve scoped CSS and editable Word inheritance

This commit is contained in:
2026-10-30 14:29:42 +08:00
parent c6d008486e
commit 2d2ce27ec9
8 changed files with 199 additions and 11 deletions
+2 -2
View File
@@ -360,7 +360,7 @@ td code {
color: #cccccc;
}
pre.highlight {
pre:where(.highlight) {
margin: 0;
padding: 1em;
overflow-x: auto;
@@ -368,7 +368,7 @@ pre.highlight {
color: #000000;
}
:where(html[data-theme="dark"]) pre.highlight {
:where(html[data-theme="dark"]) pre:where(.highlight) {
background: #1e1e1e;
color: #d4d4d4;
}