Skip to content

Commit 6b08260

Browse files
committed
feat: enhance ActionButtonCard layout with flexible styling and improved spacing
Signed-off-by: amitamrutiya <amitamrutiya2210@gmail.com>
1 parent 4a0397c commit 6b08260

1 file changed

Lines changed: 18 additions & 2 deletions

File tree

src/custom/DashboardWidgets/GettingStartedWidget/ActionButtonCard.tsx

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,15 @@ const ActionButtonCard = ({
108108
if (title === 'CLOUD NATIVE PLAYGROUND') {
109109
return (
110110
<BoxContainer playgroundCardBackgroundImgSrc={playgroundCardBackgroundImgSrc}>
111-
<CardContent sx={{ zIndex: 2, position: 'relative' }}>
111+
<CardContent
112+
style={{
113+
zIndex: 2,
114+
position: 'relative',
115+
display: 'flex',
116+
flexDirection: 'column',
117+
gap: '1rem'
118+
}}
119+
>
112120
<IconTitleWrapper>
113121
{icon}
114122
<Typography variant="h6" fontWeight="700">
@@ -148,7 +156,15 @@ const ActionButtonCard = ({
148156

149157
return (
150158
<StyledCard>
151-
<CardContent>
159+
<CardContent
160+
style={{
161+
zIndex: 2,
162+
position: 'relative',
163+
display: 'flex',
164+
flexDirection: 'column',
165+
gap: '1rem'
166+
}}
167+
>
152168
<IconTitleWrapper>
153169
{icon}
154170
<Typography variant="h6" fontWeight="700" component="div" sx={{ mx: 1 }}>

0 commit comments

Comments
 (0)