Skip to content

Commit

Permalink
Update movie release date indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
montylion committed Jul 14, 2021
1 parent e8a4b96 commit c92fbbe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions src/components/MovieRow.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@
.movieRow .left {
flex: 1;
display: flex;
flex-flow: row wrap;
align-items: flex-start;
margin-right: 0.5rem;
}

.movieRow .left .year {
color: #BCBECB;
}

.movieRow .watch {
Expand Down
4 changes: 2 additions & 2 deletions src/components/MovieRow.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ export function MovieRow(props) {
return (
<div className="movieRow" onClick={() => props.onClick && props.onClick()}>
<div className="left">
{props.title}
{props.title}&nbsp;
<span className="year">({props.year})</span>
</div>
<div className="watch">
<span className="attribute">year: {props.year}</span>
<p>Watch {props.type}</p>
<Arrow/>
</div>
Expand Down

0 comments on commit c92fbbe

Please sign in to comment.