[release] v0.8.1

This commit is contained in:
Yann Stepienik 2023-06-22 13:18:28 +01:00
parent 71f888eb36
commit c3dd4f61f2

View file

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