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

Fix GraphiQL font rendering #565

Merged
merged 1 commit into from
Nov 12, 2019

Conversation

sjparsons
Copy link

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.

Before

Screen Shot 2019-11-08 at 12 15 21 PM

After

Screen Shot 2019-11-08 at 12 15 46 PM

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.
@coveralls
Copy link

Coverage Status

Coverage remained the same at 99.759% when pulling ed683d3 on sjparsons:fix-font-graphiql into f826aae on graphql:master.

@IvanGoncharov IvanGoncharov merged commit a156297 into graphql:master Nov 12, 2019
@IvanGoncharov
Copy link
Member

@sjparsons Thanks a lot 👍
Merged 🎉

@IvanGoncharov IvanGoncharov added the PR: bug fix 🐞 requires increase of "patch" version number label Nov 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
PR: bug fix 🐞 requires increase of "patch" version number
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants