This commit is contained in:
yyh
2026-01-15 16:14:51 +08:00
parent 7bc1390366
commit 2f92957e15
3 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ type EditorAreaProps = PropsWithChildren
const EditorArea: FC<EditorAreaProps> = ({ children }) => {
return (
<section className="flex flex-1 flex-col rounded-lg">
<section className="flex min-h-0 flex-1 flex-col rounded-lg">
{children}
</section>
)

View File

@ -5,7 +5,7 @@ type EditorBodyProps = PropsWithChildren
const EditorBody: FC<EditorBodyProps> = ({ children }) => {
return (
<div className="flex flex-1">
<div className="flex min-h-0 flex-1">
{children}
</div>
)

View File

@ -161,7 +161,7 @@ const SkillDocEditor: FC = () => {
const fileSize = currentFileNode?.size
return (
<div className="h-full w-full overflow-hidden bg-components-panel-bg">
<div className="h-full w-full overflow-auto bg-components-panel-bg">
{isMarkdown && (
<MarkdownFileEditor
value={currentContent}