Skip to content

Commit

Permalink
fix(web): Add max height to error panel (#3524)
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronMoat authored Sep 17, 2023
1 parent 33b7171 commit c65519d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
- Allow cmd-/ (Mac) or ctrl-/ (Windows) to toggle comments in the playground
editor (@AaronMoat, #3522)

- Limit maximum height of the playground editor's error panel to avoid taking
over whole screen (@AaronMoat, #3524)

**Integrations**:

**Internal changes**:
Expand Down
3 changes: 3 additions & 0 deletions web/playground/src/workbench/Workbench.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@
margin: 0;
width: 100%;

max-height: 50%;
overflow-y: auto;

font-family: monospace;
white-space: pre-wrap;

Expand Down

0 comments on commit c65519d

Please sign in to comment.