Fixed: Remove parens around year, move path below movie summary

pull/3861/head
Devin Buhl 5 years ago committed by GitHub
parent 238f99c8ca
commit 7440ca9ca8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -296,7 +296,7 @@ class MovieDetails extends Component {
</div> </div>
<div className={styles.year}> <div className={styles.year}>
({year}) {year}
</div> </div>
{ {
@ -416,6 +416,15 @@ class MovieDetails extends Component {
} }
</div> </div>
<Measure onMeasure={this.onMeasure}>
<div className={styles.overview}>
<TextTruncate
line={Math.floor(overviewHeight / (defaultFontSize * lineHeight))}
text={overview}
/>
</div>
</Measure>
<InfoLabel <InfoLabel
className={styles.detailsInfoLabel} className={styles.detailsInfoLabel}
title="Path" title="Path"
@ -426,15 +435,6 @@ class MovieDetails extends Component {
</span> </span>
</InfoLabel> </InfoLabel>
<Measure onMeasure={this.onMeasure}>
<div className={styles.overview}>
<TextTruncate
line={Math.floor(overviewHeight / (defaultFontSize * lineHeight))}
text={overview}
/>
</div>
</Measure>
<InfoLabel <InfoLabel
className={styles.detailsInfoLabel} className={styles.detailsInfoLabel}
title="Links" title="Links"

Loading…
Cancel
Save