We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03ab3a6 commit 2c873deCopy full SHA for 2c873de
.changeset/transparent-scrollbars.md
@@ -0,0 +1,6 @@
1
+---
2
+"@graphiql/react": patch
3
+"graphiql": patch
4
5
+
6
+style: improve scrollbar styling on the query editor
packages/graphiql-react/src/style/root.css
@@ -146,3 +146,15 @@ body.graphiql-dark [data-radix-popper-content-wrapper] {
146
}
147
148
149
150
+/* Transparent scrollbars, without backgrounds */
151
+.graphiql-container .CodeMirror-hscrollbar,
152
+.graphiql-container .CodeMirror-vscrollbar {
153
+ scrollbar-color: #88888888 transparent;
154
+}
155
156
+/* The little square between H and V scrollbars */
157
+.graphiql-container .CodeMirror-scrollbar-filler,
158
+.graphiql-container .CodeMirror-gutter-filler {
159
+ background-color: transparent;
160
0 commit comments