fix: preserve scoped CSS and editable Word inheritance
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user