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

Commit

Permalink
fix: Allow scroll in result panel (graphql#1023)
Browse files Browse the repository at this point in the history
* Limit the height of the result panel to the max size
* Pin scrollbar position in the subscription result pane
  • Loading branch information
iagobruno authored and glasser committed May 11, 2021
1 parent 6dd73db commit 8d09e5d
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -690,15 +690,18 @@ const EditorBar = styled.div`
display: flex;
flex-direction: row;
flex: 1;
height: 100%;
`

const ResultWrap = styled.div`
display: flex;
flex-direction: column;
flex: 1;
height: 100%;
position: relative;
border-left: none;
background: ${p => p.theme.editorColours.resultBackground};
overflow-anchor: auto;
`

const DragBar = styled.div`
Expand Down

0 comments on commit 8d09e5d

Please sign in to comment.