Skip to content

Commit d02f4fa

Browse files
authored
Merge pull request #1028 from FaheemOnHub/fix/faheemonhub/aspectRatio
fix:image aspect ratio
2 parents 74bc041 + 44299fb commit d02f4fa

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)