Skip to content

Commit 7e55bb9

Browse files
authored
Merge pull request #2862 from devtron-labs/fix/chart-details-about
fix: adjust image container for better layout in ChartDetailsAbout
2 parents 63b1bfe + 9699555 commit 7e55bb9

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

src/Pages/ChartStore/ChartDetails/ChartDetailsAbout.tsx

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -118,16 +118,18 @@ export const ChartDetailsAbout = ({ chartDetails, isLoading }: ChartDetailsAbout
118118
return (
119119
<div className="flexbox-col dc__gap-20 mw-none">
120120
<div className="flexbox-col dc__gap-12">
121-
<ImageWithFallback
122-
imageProps={{
123-
src: icon,
124-
alt: 'chart-icon',
125-
className: 'br-6',
126-
height: 48,
127-
width: 48,
128-
}}
129-
fallbackImage={<Icon name="ic-helm" color="N700" size={48} />}
130-
/>
121+
<div className="h-48 dc__mxw-200">
122+
<ImageWithFallback
123+
imageProps={{
124+
src: icon,
125+
alt: 'chart-icon',
126+
className: 'br-6',
127+
height: '100%',
128+
width: 'auto',
129+
}}
130+
fallbackImage={<Icon name="ic-helm" color="N700" size={48} />}
131+
/>
132+
</div>
131133
<h2 className="m-0 fs-16 lh-24 fw-6 cn-9">{name}</h2>
132134
<p className="m-0 fs-13 lh-20 cn-9">{description}</p>
133135
</div>

0 commit comments

Comments
 (0)