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"> <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>
) )

View File

@ -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>

View File

@ -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;
}