Skip to content

Commit 4e3fa6a

Browse files
committed
fix: more banner
1 parent 632ff7b commit 4e3fa6a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/components/ComponentsSelection/ComponentsSelectionContainer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,12 @@ export const ComponentsSelectionContainer: React.FC<ComponentsSelectionProps> =
6969
}
7070

7171
if (error) {
72-
return <IllustratedError />;
72+
return <IllustratedError compact={true}/>;
7373
}
7474

7575
// Defensive: If the API returned no items, show error
7676
if (!componentsList || componentsList.length === 0) {
77-
return <IllustratedError title={t('componentsSelection.cannotLoad')} />;
77+
return <IllustratedError title={t('componentsSelection.cannotLoad')} compact={true} />;
7878
}
7979

8080
return <ComponentsSelection componentsList={componentsList} setComponentsList={setComponentsList} />;

src/components/ControlPlane/FluxList.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ export default function FluxList() {
136136
<IllustratedError
137137
details={repoErr?.message || kustomizationErr?.message || t('FluxList.undefinedError')}
138138
title={t('FluxList.noFluxError')}
139+
compact={true}
139140
/>
140141
);
141142
}

0 commit comments

Comments
 (0)