dify/web/app/components/plugins/plugin-page/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
360 B
TypeScript

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