Skip to content

Commit d032a33

Browse files
author
Ives van Hoorne
committed
Disallow scrolling the editor itself
1 parent 9d4d027 commit d032a33

File tree

1 file changed

+1
-1
lines changed
  • src/app/components/sandbox/CodeEditor

1 file changed

+1
-1
lines changed

src/app/components/sandbox/CodeEditor/Monaco.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const fontFamilies = (...families) =>
5252
const CodeContainer = styled.div`
5353
position: relative;
5454
width: 100%;
55-
height: 100%;
55+
height: calc(100% - 6rem);
5656
z-index: 30;
5757
5858
.margin-view-overlays {

0 commit comments

Comments
 (0)