.code-editor-view { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; background: white; z-index: 100; } .code-editor-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid #ddd; background: white; } .code-editor-header .header-left { display: flex; align-items: center; gap: 16px; } .code-editor-header .header-right { display: flex; gap: 8px; } .editor-filename { margin: 0; font-size: 18px; font-weight: 600; color: #333; } .code-editor-body { flex: 1; overflow: hidden; position: relative; background: white; } .code-editor-body .CodeMirror { height: 100%; font-family: 'Consolas', 'Monaco', 'Courier New', monospace; font-size: 14px; background: white; } .code-editor-body .CodeMirror-gutters { background: #f9f9f9; border-right: 1px solid #ddd; } .code-editor-body .CodeMirror-linenumber { color: #999; padding: 0 8px; } .code-editor-body .CodeMirror-cursor { border-left: 2px solid #333; } .code-editor-body .CodeMirror-selected { background: #d7e8ff; } .code-editor-body .CodeMirror-line::selection, .code-editor-body .CodeMirror-line > span::selection, .code-editor-body .CodeMirror-line > span > span::selection { background: #d7e8ff; } .code-editor-body textarea { display: none; }