Skip to content

Commit b3f8f7b

Browse files
⚡ Update
1 parent 373d7fa commit b3f8f7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/add-style.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Inserts the style element into the page for
22
// the default style of the code-block element.
33
const style = document.createElement('style');
4-
const link = document.querySelector('head link');
4+
const link = document.querySelector('head link, head style');
55

66
style.textContent = `
77
code-block {

0 commit comments

Comments
 (0)