Skip to content

Commit

Permalink
Fix theme on result window
Browse files Browse the repository at this point in the history
close #1919 

`editorTheme` option apply theme uniformly on all the codemirror instances so we can considerate that this background is specific to the graphiql theme. Other theme should be able to override correctly this color.
  • Loading branch information
cgarnier committed Jul 9, 2021
1 parent 04fad79 commit 70be85b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphiql/src/css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@
}

/* No `.graphiql-container` here so themes can overwrite */
.result-window .CodeMirror {
.result-window .CodeMirror.cm-s-graphiql {
background: #f6f7f8;
}

Expand Down

0 comments on commit 70be85b

Please sign in to comment.