소스 검색

[release] v0.8.1

Yann Stepienik 2 년 전
부모
커밋
c3dd4f61f2
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      client/src/pages/market/listing.jsx

+ 2 - 2
client/src/pages/market/listing.jsx

@@ -15,10 +15,10 @@ function Screenshots({ screenshots }) {
   return screenshots.length > 1 ? (
     <Carousel animation="slide" navButtonsAlwaysVisible={false} fullHeightHover="true" swipe={false}>
       {
-        screenshots.map((item, i) => <img style={{height:'300px'}} key={i} src={item} />)
+        screenshots.map((item, i) => <img style={{maxHeight:'300px', height: '100%', maxWidth: '100%'}} key={i} src={item} />)
       }
     </Carousel>)
-    : <img src={screenshots[0]} height="300px" />
+    : <img src={screenshots[0]} style={{maxHeight:'300px', height: '100%', maxWidth: '100%'}} />
 }
 
 function Showcases({ showcase, isDark }) {