diff --git a/apps/client/src/features/app-settings/panel-utils/PanelUtils.module.scss b/apps/client/src/features/app-settings/panel-utils/PanelUtils.module.scss index 722e366ee..e2a8917d4 100644 --- a/apps/client/src/features/app-settings/panel-utils/PanelUtils.module.scss +++ b/apps/client/src/features/app-settings/panel-utils/PanelUtils.module.scss @@ -26,15 +26,24 @@ $inner-padding: 1rem; color: $gray-300; } -.section { - position: relative; - margin-top: 2rem; +.section, .indent { font-size: calc(1rem - 1px); - max-width: 800px; display: flex; flex-direction: column; gap: 1rem; color: $ui-white; + +} + +.section { + position: relative; + margin-top: 2rem; + max-width: 800px; +} + +.indent { + padding: 1rem; + background-color: $gray-1350; } .paragraph { @@ -84,7 +93,6 @@ $inner-padding: 1rem; position: sticky; top: 0; z-index: 3; - box-shadow: 0 1px $white-10; background-color: $gray-1350; } @@ -163,6 +171,26 @@ $inner-padding: 1rem; animation: animloader 1s ease-in infinite; } +.empty { + background-color: $black-10; + text-align: center; + color: $muted-gray; + + td { + padding: 2rem; + } + + button { + margin-top: 1rem; + } +} + +.inlineSiblings { + display: flex; + align-items: center; + gap: 1rem; +} + .empty { background-color: $black-10; text-align: center; diff --git a/apps/client/src/features/app-settings/panel-utils/PanelUtils.tsx b/apps/client/src/features/app-settings/panel-utils/PanelUtils.tsx index fa9bcde24..541378fdb 100644 --- a/apps/client/src/features/app-settings/panel-utils/PanelUtils.tsx +++ b/apps/client/src/features/app-settings/panel-utils/PanelUtils.tsx @@ -24,10 +24,19 @@ type SectionProps = { children: ReactNode; } & JSX.IntrinsicElements[C]; -export function Section({ as, children, ...props }: SectionProps) { +export function Section({ as, className, children, ...props }: SectionProps) { const Element = as ?? 'div'; return ( - )}> + )}> + {children} + + ); +} + +export function Indent({ as, className, children, ...props }: SectionProps) { + const Element = as ?? 'div'; + return ( + )}> {children} );