Files
dify/web/app/components/workflow/skill/skill-page-layout.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
345 B
TypeScript

import type { FC, PropsWithChildren } from 'react'
import * as React from 'react'
type SkillPageLayoutProps = PropsWithChildren
const SkillPageLayout: FC<SkillPageLayoutProps> = ({ children }) => {
return (
<div className="flex h-full gap-3 overflow-hidden">
{children}
</div>
)
}
export default React.memo(SkillPageLayout)