Fix scrolling issues on Firefox (#3332)
This commit is contained in:
parent
4a25c1ba81
commit
9b4fb2d553
3 changed files with 8 additions and 1 deletions
|
@ -241,7 +241,7 @@ export function GraphiQLInterface(props: GraphiQLInterfaceProps) {
|
|||
</div>
|
||||
<div className="graphiql-sidebar-section"></div>
|
||||
</div>
|
||||
<div className="graphiql-main">
|
||||
<div className={clsx("graphiql-main", classes.main)}>
|
||||
<div
|
||||
ref={pluginResize.firstRef}
|
||||
style={{
|
||||
|
|
|
@ -11,6 +11,9 @@ export const useStyles = makeStyles(
|
|||
pre: {
|
||||
whiteSpace: "break-spaces",
|
||||
},
|
||||
main: {
|
||||
position: "relative",
|
||||
},
|
||||
scrollable: {
|
||||
// Overrides inline styling which breaks scroll
|
||||
// on doc explorer plugin
|
||||
|
|
|
@ -17,6 +17,10 @@ body {
|
|||
display: none;
|
||||
}
|
||||
|
||||
.hide-scrollbar {
|
||||
scrollbar-width: none;
|
||||
}
|
||||
|
||||
.ellipsis {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
|
|
Loading…
Reference in a new issue