Skip to content

Commit 252aebe

Browse files
authored
fix: Fix Workspace Container height (#252)
1 parent f6d14d0 commit 252aebe

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/components/ControlPlanes/List/ControlPlaneListWorkspaceGridTile.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ export function ControlPlaneListWorkspaceGridTile({ projectName, workspace }: Pr
120120
title={t('IllustratedBanner.titleMessage')}
121121
subtitle={t('IllustratedBanner.subtitleMessage')}
122122
illustrationName={IllustrationMessageType.NoData}
123+
compact
123124
help={{
124125
link: mcpCreationGuide,
125126
buttonText: t('IllustratedBanner.helpButton'),

src/components/Ui/IllustratedBanner/IllustratedBanner.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ type InfoBannerProps = {
99
title: string;
1010
subtitle: string | UI5WCSlotsNode;
1111
illustrationName: IllustrationMessageType; // e.g. 'NoData', 'SimpleError', etc.
12+
compact?: boolean;
1213
help?: {
1314
link: string;
1415
buttonText: string;
@@ -23,6 +24,7 @@ export const IllustratedBanner = ({
2324
illustrationName,
2425
help,
2526
button,
27+
compact = false,
2628
}: InfoBannerProps) => {
2729
let subtitleText, subtitleNode;
2830
if (typeof subtitleProp === 'string') {
@@ -34,7 +36,7 @@ export const IllustratedBanner = ({
3436
return (
3537
<FlexBox direction="Column" alignItems="Center">
3638
<IllustratedMessage
37-
design={IllustrationMessageDesign.Scene}
39+
design={compact ? IllustrationMessageDesign.ExtraSmall : IllustrationMessageDesign.Large}
3840
name={illustrationName}
3941
titleText={title}
4042
subtitleText={subtitleText}

0 commit comments

Comments
 (0)