mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-20 14:37:43 +01:00
Update movie release date indicator
This commit is contained in:
parent
e8a4b96002
commit
c92fbbe8b8
2 changed files with 8 additions and 2 deletions
|
@ -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