Skip to content
Snippets Groups Projects

Fixing bugs vinicius

Merged lfr20 requested to merge Fixing_bugs_vinicius into Develop
4 files
+ 20
4
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -207,11 +207,11 @@ export default function CollectionCardFunction(props) {
<span className={"col-name"}>{name}</span>
</UserAndTitle>
</UserInfo>
<StyledGrid container direction="row" style={{ width: '272.5px'}}>
<StyledGrid container direction="row" style={{ width: '272.5px' }}>
{
props.thumbnails.map((thumb) =>
<Grid item xs={props.thumbnails <= 4 && props.thumbnails > 0 ? 12 / props.thumbnails.length : 6}>
<div style={{ backgroundImage: `url(${`${apiDomain}` + thumb})`, height: "100%", width: "100%", backgroundSize: "cover", backgroundPosition: "center" }} />
<Grid item xs={props.thumbnails.length <= 3 && props.thumbnails.length > 0 ? 12 / props.thumbnails.length : 6}>
<div style={{ backgroundImage: `url(${`${apiDomain}` + thumb})`, height: `${props.thumbnails.length <= 3 ? '230px' : '100%'}`, width: "100%", backgroundSize: "cover", backgroundPosition: "center" }} />
</Grid>
)
}
Loading