Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions codemirror-base/src/tool.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,7 @@ export function CodeMirrorEditor(props: PatchworkToolProps<TextDoc>) {
});

return (
<div style={{ width: '100%', height: '100%', overflow: 'auto', position: 'relative', background: 'var(--studio-fill, white)' }}>
<div style={{ padding: '1rem', height: '100%' }}>
<div style={{ width: '100%', height: '100%', overflow: 'hidden', position: 'relative', background: 'var(--studio-fill, white)' }}>
<div style={{ display: 'flex', height: '100%' }}>
<div style={{ position: 'relative', flex: 1, height: '100%' }}>
<CodeMirror
Expand All @@ -275,7 +274,6 @@ export function CodeMirrorEditor(props: PatchworkToolProps<TextDoc>) {
/>
</div>
</div>
</div>
</div>
);
}
Expand Down
Loading