add activity indicator and scrollbar tweaks

This commit is contained in:
Josh Hawkins 2026-02-03 17:22:47 -06:00
parent d05145d62a
commit b7ee094246
3 changed files with 6 additions and 0 deletions

View File

@ -749,6 +749,10 @@ export function ConfigSection({
? t(`${sectionPath}.description`, { ns: configNamespace })
: undefined;
if (!sectionSchema || !config) {
return <ActivityIndicator />;
}
const sectionContent = (
<div className="space-y-6">
<ConfigForm

View File

@ -93,6 +93,7 @@ export function ObjectLabelSwitchesWidget(props: WidgetProps) {
getEntities: getObjectLabels,
getDisplayLabel: getObjectLabelDisplayName,
i18nKey: "objectLabels",
listClassName: "max-h-64 overflow-y-auto scrollbar-container",
}}
/>
);

View File

@ -42,6 +42,7 @@ export function ZoneSwitchesWidget(props: WidgetProps) {
getEntities: getZoneNames,
getDisplayLabel: getZoneDisplayName,
i18nKey: "zoneNames",
listClassName: "max-h-64 overflow-y-auto scrollbar-container",
}}
/>
);