style the video item, title decoration, colors
This commit is contained in:
parent
2bb636cb79
commit
935c6d210c
|
@ -10,8 +10,8 @@ class RandomDate extends React.Component {
|
||||||
<section>
|
<section>
|
||||||
<SectionHeading title="Random Date"/>
|
<SectionHeading title="Random Date"/>
|
||||||
<Grid
|
<Grid
|
||||||
width={450}
|
width={220}
|
||||||
gap={24}>
|
gap={12}>
|
||||||
<VideoItem/>
|
<VideoItem/>
|
||||||
<VideoItem/>
|
<VideoItem/>
|
||||||
<VideoItem/>
|
<VideoItem/>
|
||||||
|
|
|
@ -16,7 +16,7 @@ class RandomTopic extends React.Component {
|
||||||
this.props.topicName + ' (' +this.props.topicCount + ')'}/>
|
this.props.topicName + ' (' +this.props.topicCount + ')'}/>
|
||||||
<Grid className="random-topics"
|
<Grid className="random-topics"
|
||||||
width={220}
|
width={220}
|
||||||
gap={16}>
|
gap={12}>
|
||||||
{this.props.videos.map(video =>
|
{this.props.videos.map(video =>
|
||||||
<VideoItem id={video.id} key={video.id} title={video.title }/>
|
<VideoItem id={video.id} key={video.id} title={video.title }/>
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -5,14 +5,16 @@
|
||||||
/* Video item*/
|
/* Video item*/
|
||||||
.video-item {
|
.video-item {
|
||||||
background: #f6f6f6;
|
background: #f6f6f6;
|
||||||
min-height: 400px;
|
min-height: 440px;
|
||||||
padding: 1em;
|
padding: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
.random-topics {
|
||||||
text-decoration: none;
|
a{
|
||||||
font-size: 14px;
|
text-decoration: none;
|
||||||
color: black;
|
font-size: 14px;
|
||||||
|
color: black;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.video-thumbnail {
|
.video-thumbnail {
|
||||||
|
@ -28,3 +30,6 @@ a {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.video-title{
|
||||||
|
padding-top: 1em;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user