Files
dify/web/app/components/workflow/skill/content-body.tsx
yyh ff07ca97df fix: prevent horizontal page scroll in skill editor layout
Add overflow-hidden to SkillPageLayout and min-w-0 to flex children
to ensure wide content (like SQLite tables with many columns) scrolls
internally rather than causing the entire page to scroll horizontally.
2026-01-22 16:13:09 +08:00

15 lines
323 B
TypeScript

import type { FC, PropsWithChildren } from 'react'
import * as React from 'react'
type ContentBodyProps = PropsWithChildren
const ContentBody: FC<ContentBodyProps> = ({ children }) => {
return (
<div className="flex min-h-0 min-w-0 flex-1">
{children}
</div>
)
}
export default React.memo(ContentBody)