saq1b commited on
Commit
31741a3
·
1 Parent(s): aca7242

refactor(App.jsx): update image component styling for improved responsiveness and aesthetics

Browse files
Files changed (1) hide show
  1. 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
- h="200px"
655
- objectFit="cover"
 
 
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}>