mirror of
https://github.com/langgenius/dify.git
synced 2026-04-26 05:35:58 +08:00
fix: css
This commit is contained in:
@ -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>
|
||||
)
|
||||
|
||||
@ -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>
|
||||
)
|
||||
|
||||
@ -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}
|
||||
|
||||
Reference in New Issue
Block a user