Merge pull request #2030 from lbryio/thumbnail
fix thumbnail height/width
This commit is contained in:
commit
5665bc3ee7
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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%;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue