fix thumbnail height/width
This commit is contained in:
parent
7587366365
commit
88e15438d7
2 changed files with 4 additions and 1 deletions
|
@ -67,7 +67,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
|
||||
|
|
|
@ -393,4 +393,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…
Add table
Reference in a new issue