mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-29 15:46:07 +00:00
Update movie release date indicator
This commit is contained in:
parent
e8a4b96002
commit
c92fbbe8b8
|
@ -17,7 +17,13 @@
|
||||||
.movieRow .left {
|
.movieRow .left {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
flex-flow: row wrap;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
|
margin-right: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.movieRow .left .year {
|
||||||
|
color: #BCBECB;
|
||||||
}
|
}
|
||||||
|
|
||||||
.movieRow .watch {
|
.movieRow .watch {
|
||||||
|
|
|
@ -8,10 +8,10 @@ export function MovieRow(props) {
|
||||||
return (
|
return (
|
||||||
<div className="movieRow" onClick={() => props.onClick && props.onClick()}>
|
<div className="movieRow" onClick={() => props.onClick && props.onClick()}>
|
||||||
<div className="left">
|
<div className="left">
|
||||||
{props.title}
|
{props.title}
|
||||||
|
<span className="year">({props.year})</span>
|
||||||
</div>
|
</div>
|
||||||
<div className="watch">
|
<div className="watch">
|
||||||
<span className="attribute">year: {props.year}</span>
|
|
||||||
<p>Watch {props.type}</p>
|
<p>Watch {props.type}</p>
|
||||||
<Arrow/>
|
<Arrow/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue