Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
Set a proper height and width (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavithra Kodmad authored and SaraVieira committed Jan 28, 2019
1 parent b451dc6 commit f1a2ee0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/Pages/Tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ const ProgressUnit = ({ enabled }) => {
return <Progress enabled={enabled} />
}

const VideoWrapper = styled.div`
height: 180px;
width: 240px;
`

const Tags = ({ data: { searchTags } }) => (
<Grid>
<TagsMeta />
Expand Down Expand Up @@ -127,19 +132,15 @@ const Tags = ({ data: { searchTags } }) => (
>
{t.videos.map(video => {
return (
<div
<VideoWrapper
key={video.id}
css={`
height: 180px;
width: 240px;
`}
>
<Video
{...video}
Player={Player}
noText
/>
</div>
</VideoWrapper>
)
})}
</Carousel>
Expand Down

0 comments on commit f1a2ee0

Please sign in to comment.