add just one line around the random topics title
This commit is contained in:
parent
6ff0019b79
commit
53214b12ea
|
@ -12,7 +12,7 @@ class VideoItem extends React.Component {
|
||||||
<section className="video-thumbnail-container">
|
<section className="video-thumbnail-container">
|
||||||
<img className="video-thumbnail" src={ getThumbnail(this.props.id) } alt=""/>
|
<img className="video-thumbnail" src={ getThumbnail(this.props.id) } alt=""/>
|
||||||
</section>
|
</section>
|
||||||
<h3 classNamew="video-title">{ this.props.title }</h3>
|
<h3 className="video-title">{ this.props.title }</h3>
|
||||||
</section>
|
</section>
|
||||||
</Link>
|
</Link>
|
||||||
)
|
)
|
||||||
|
|
|
@ -4,7 +4,6 @@ import {getVideo} from '../utils/video';
|
||||||
import { Player } from 'video-react';
|
import { Player } from 'video-react';
|
||||||
class VideoPlayer extends React.Component {
|
class VideoPlayer extends React.Component {
|
||||||
render() {
|
render() {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section>
|
<section>
|
||||||
<Player src={getVideo(this.props.id)} controls>
|
<Player src={getVideo(this.props.id)} controls>
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
height: 5px;
|
height: 5px;
|
||||||
border-bottom: 1px solid black;
|
border-bottom: 1px solid black;
|
||||||
border-top: 1px solid black;
|
//border-top: 1px solid black;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 300px;
|
width: 300px;
|
||||||
}
|
}
|
||||||
|
@ -38,24 +38,4 @@
|
||||||
margin-left: 15px;
|
margin-left: 15px;
|
||||||
}
|
}
|
||||||
/* view all elements */
|
/* view all elements */
|
||||||
.view-all-parents {
|
|
||||||
color: white;
|
|
||||||
background: black;
|
|
||||||
padding: 1em;
|
|
||||||
position: relative;
|
|
||||||
top: 1em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.view-all-parents,
|
|
||||||
.view-all-items {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.view-all-items {
|
|
||||||
color: black;
|
|
||||||
text-decoration: none;
|
|
||||||
padding: 1em;
|
|
||||||
border: 1px solid black;
|
|
||||||
position: relative;
|
|
||||||
top: 1em;
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user