add just one line around the random topics title

This commit is contained in:
Ahmed-Ayman 2018-12-12 20:02:13 +02:00
parent 6ff0019b79
commit 53214b12ea
3 changed files with 2 additions and 23 deletions

View File

@ -12,7 +12,7 @@ class VideoItem extends React.Component {
<section className="video-thumbnail-container">
<img className="video-thumbnail" src={ getThumbnail(this.props.id) } alt=""/>
</section>
<h3 classNamew="video-title">{ this.props.title }</h3>
<h3 className="video-title">{ this.props.title }</h3>
</section>
</Link>
)

View File

@ -4,7 +4,6 @@ import {getVideo} from '../utils/video';
import { Player } from 'video-react';
class VideoPlayer extends React.Component {
render() {
return (
<section>
<Player src={getVideo(this.props.id)} controls>

View File

@ -25,7 +25,7 @@
position: absolute;
height: 5px;
border-bottom: 1px solid black;
border-top: 1px solid black;
//border-top: 1px solid black;
top: 0;
width: 300px;
}
@ -38,24 +38,4 @@
margin-left: 15px;
}
/* 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;
}