Merge pull request #2030 from lbryio/thumbnail

fix thumbnail height/width
This commit is contained in:
Sean Yesmunt 2018-10-14 13:19:40 -04:00 committed by GitHub
commit 5665bc3ee7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -73,7 +73,7 @@ class SelectThumbnail extends React.PureComponent<Props, State> {
{status === THUMBNAIL_STATUSES.API_DOWN || status === THUMBNAIL_STATUSES.MANUAL ? (
<div className="column">
<div
className="column__item thumbnail-preview card__media"
className="column__item thumbnail-preview"
style={{ backgroundImage: `url(${thumbnailSrc})` }}
>
<img

View file

@ -382,4 +382,7 @@ p {
.thumbnail-preview {
height: var(--thumbnail-preview-height);
width: var(--thumbnail-preview-width);
background-size: cover;
background-repeat: no-repeat;
background-position: 50% 50%;
}