feat: image fix
This commit is contained in:
		@@ -6,12 +6,14 @@
 | 
				
			|||||||
    padding: rem(10);
 | 
					    padding: rem(10);
 | 
				
			||||||
    margin-bottom: rem(10);
 | 
					    margin-bottom: rem(10);
 | 
				
			||||||
    flex: 1;
 | 
					    flex: 1;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.image-container {
 | 
					.image-container {
 | 
				
			||||||
    display: flex;
 | 
					    display: flex;
 | 
				
			||||||
    max-height: rem(250);
 | 
					    max-height: rem(250);
 | 
				
			||||||
    max-width: rem(250);
 | 
					    max-width: rem(250);
 | 
				
			||||||
 | 
					    height: 100%;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.services-container {
 | 
					.services-container {
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -117,8 +117,12 @@ const ProductView: FC<Props> = ({
 | 
				
			|||||||
    return (
 | 
					    return (
 | 
				
			||||||
        <div className={styles['container']}>
 | 
					        <div className={styles['container']}>
 | 
				
			||||||
            <div className={styles['data-container']}>
 | 
					            <div className={styles['data-container']}>
 | 
				
			||||||
                <div className={styles['image-container']}>
 | 
					                <div
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                    className={styles['image-container']}>
 | 
				
			||||||
                    <Image
 | 
					                    <Image
 | 
				
			||||||
 | 
					                        flex={1}
 | 
				
			||||||
                        radius={rem(10)}
 | 
					                        radius={rem(10)}
 | 
				
			||||||
                        fit={"cover"}
 | 
					                        fit={"cover"}
 | 
				
			||||||
                        src={product.product.imageUrl}
 | 
					                        src={product.product.imageUrl}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user