dify/web/app/components/tools/content-inset.ts
Jingyi-Dify d076fc35b7 refactor: polish integrations and main nav UI
Reuse shared base controls in MainNav and Integrations, add active integration icons, and keep compact integration content framing covered by targeted tests.
2026-05-12 16:04:18 -07:00

12 lines
335 B
TypeScript

export type ToolsContentInset = 'default' | 'compact'
export const toolsContentFrameClassNames: Record<ToolsContentInset, string> = {
default: 'w-full',
compact: 'mx-auto box-border w-full max-w-[1600px]',
}
export const toolsContentInsetClassNames: Record<ToolsContentInset, string> = {
default: 'px-12',
compact: 'px-6',
}