Skip to content

Commit 267cff9

Browse files
author
Ives van Hoorne
committed
Make Monaco overflow fixed
fixes codesandbox#554
1 parent 89bca84 commit 267cff9

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

packages/app/src/app/components/CodeEditor/Monaco/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -987,6 +987,7 @@ class MonacoEditor extends React.Component<Props, State> implements Editor {
987987
lineHeight: (settings.lineHeight || 1.5) * settings.fontSize,
988988
folding: true,
989989
glyphMargin: false,
990+
fixedOverflowWidgets: true,
990991
};
991992
};
992993

packages/app/src/app/pages/Sandbox/Editor/Header/elements.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export const Container = styled.div`
88
background-color: ${props => props.theme.background2};
99
font-size: 1.2rem;
1010
color: rgba(255, 255, 255, 0.7);
11-
z-index: 40;
1211
margin: 0;
1312
height: 3rem;
1413
font-weight: 400;

0 commit comments

Comments
 (0)