Skip to content

Commit 4d292ba

Browse files
committed
Intentionally omit patch version in Prism CSS URL due to parsing bug in Safari (#506)
This seems to be the easiest workaround. See: https://bugs.webkit.org/show_bug.cgi?id=229816
1 parent 54b60a2 commit 4d292ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/docs/_assets/stylesheets/extra.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
:root {
44
/* Visual configuration of the `<docoff-react-preview>` and `<docoff-react-base>` code */
55
/* The Prism theme CSS file, for options see: https://unpkg.com/browse/prismjs/themes/ */
6-
--docoff-code-prism-css: https://unpkg.com/[email protected]/themes/prism-twilight.min.css;
6+
/* NOTE: Patch version is omitted due to parsing bug in Safari: https://bugs.webkit.org/show_bug.cgi?id=229816 */
7+
--docoff-code-prism-css: https://unpkg.com/[email protected]/themes/prism-twilight.min.css;
78
--docoff-code-font-size: 1rem;
89
--docoff-code-line-height: 1.5;
910
--docoff-code-font-family: "SFMono-Regular", "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;

0 commit comments

Comments
 (0)