mirror of
https://github.com/langgenius/dify.git
synced 2026-05-13 08:57:28 +08:00
Reuse shared base controls in MainNav and Integrations, add active integration icons, and keep compact integration content framing covered by targeted tests.
12 lines
360 B
TypeScript
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',
|
|
}
|