Spaces:
Sleeping
Sleeping
refactor(App.jsx): update image component styling for improved responsiveness and aesthetics
Browse files- src/App.jsx +4 -2
src/App.jsx
CHANGED
@@ -651,8 +651,10 @@ const App = () => {
|
|
651 |
src={image.preview}
|
652 |
alt={image.name}
|
653 |
w="100%"
|
654 |
-
|
655 |
-
objectFit="
|
|
|
|
|
656 |
/>
|
657 |
<Box p={4}>
|
658 |
<Flex justify="space-between" align="center" mb={2}>
|
|
|
651 |
src={image.preview}
|
652 |
alt={image.name}
|
653 |
w="100%"
|
654 |
+
maxH="300px"
|
655 |
+
objectFit="contain"
|
656 |
+
bg="gray.800"
|
657 |
+
p={2}
|
658 |
/>
|
659 |
<Box p={4}>
|
660 |
<Flex justify="space-between" align="center" mb={2}>
|