Merge pull request #1 from montylion/master

Update movie release date indicator, fix GitHub link position
This commit is contained in:
James Hawkins 2021-07-14 10:26:58 +01:00 committed by GitHub
commit 25f3651b1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 4 deletions

View File

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

View File

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

View File

@ -13,11 +13,11 @@
} }
.cardView > div:first-child { .cardView > div:first-child {
margin-top: 0; margin-top: 38px;
} }
.topRightCredits { .topRightCredits {
position: fixed; position: absolute;
right: 1rem; right: 1rem;
top: 1rem; top: 1rem;
margin-top: 0 !important; margin-top: 0 !important;