Skip to content

Commit 0bfdaf9

Browse files
committed
fix:image aspect ratio
Signed-off-by: TheFaheem <[email protected]>
1 parent e778b07 commit 0bfdaf9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/custom/DashboardWidgets/GettingStartedWidget/JourneyModal.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ const stepperType = {
2626
} as const;
2727

2828
export const ModalImage = styled('img')(() => ({
29-
aspectRatio: '16/9',
29+
display: 'block',
30+
width: '100%',
31+
height: 'auto',
32+
objectFit: 'contain',
3033
paddingBlock: '1rem'
3134
}));
3235

0 commit comments

Comments
 (0)