Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit a156297

Browse files
Sam ParsonsIvanGoncharov
authored andcommitted
Fix GraphiQL font rendering
The GraphiQL page-level font-family CSS rules are not applying because the `renderGraphiQL.js` page uses a JS-type comment in a `<style>` block. This PR is a quick fix to change to use the CSS style comment `/* ... */` so that the first CSS rule doesn't get skipped.
1 parent f826aae commit a156297

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderGraphiQL.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ add "&raw" to the end of the URL within a browser.
6969
}
7070
</style>
7171
<style>
72-
// graphiql/graphiql.css
72+
/* graphiql/graphiql.css */
7373
${loadFileStaticlyFromNPM('graphiql/graphiql.css')}
7474
</style>
7575
<script>

0 commit comments

Comments
 (0)