File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
packages/graphql-playground-react/src/styles Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -787,12 +787,17 @@ div.CodeMirror span.CodeMirror-nonmatchingbracket {
787
787
/* 30px is the magic margin used to hide the element's real scrollbars */
788
788
/* See overflow: hidden in .CodeMirror */
789
789
margin-bottom : -30px ;
790
- margin-right : -30 px ;
790
+ margin-right : 20 px ;
791
791
outline : none; /* Prevent dragging from highlighting the element */
792
- overflow : scroll !important ; /* Things will break if this is overridden */
793
792
padding-bottom : 30px ;
794
793
position : relative;
794
+ overflow : hidden !important ; /* Things will break if this is overridden */
795
795
}
796
+
797
+ .CodeMirror-scroll : hover {
798
+ overflow : scroll !important ; /* Things will break if this is overridden */
799
+ }
800
+
796
801
.CodeMirror-sizer {
797
802
border-right : 30px solid transparent;
798
803
position : relative;
You can’t perform that action at this time.
0 commit comments