mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 15:26:36 +00:00
style(ai-optimized-editor): 为优化后的代码编辑器添加全高和全宽类
在 AI优化后的代码编辑器组件中,为 Monaco Editor 组件添加了全高和全宽的 CSS 类,以确保编辑器在父容器中正确扩展。
This commit is contained in:
parent
1ca7b547c4
commit
a54598853e
@ -130,6 +130,7 @@ export function AIProblemEditor({
|
||||
modified={optimizedCode}
|
||||
language="typescript"
|
||||
theme="vs-dark"
|
||||
className="h-full w-full"
|
||||
options={{
|
||||
readOnly: true,
|
||||
minimap: { enabled: false }
|
||||
|
Loading…
Reference in New Issue
Block a user