Mahdi Naser Moghadasi commited on
Commit
323d95b
·
1 Parent(s): 3dcfed4

Fix desktop Monaco Editor sizing: use 100% height and proper container layout

Browse files

- Changed Monaco Editor height from fixed pixels to 100% to fill container
- Added flex container styling for desktop to ensure proper layout
- Added CSS to ensure Monaco Editor and scrollable element fill container height
- Added layout() call in onMount to force proper sizing
- This should fix the issue where typing area is smaller than editor layout

1 file changed +6 -2
components/CodeEditor.tsx+6-2