Fix wrong dimensions on blurhash previews of news articles in web UI (#34990)
This commit is contained in:
parent
24803db2bc
commit
a2a6117143
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ export const Story = ({
|
|||
<a className='story__thumbnail' href={url} target='blank' rel='noopener'>
|
||||
{thumbnail ? (
|
||||
<>
|
||||
<div className={classNames('story__thumbnail__preview', { 'story__thumbnail__preview--hidden': thumbnailLoaded })}><Blurhash hash={blurhash} /></div>
|
||||
{!thumbnailLoaded && <Blurhash hash={blurhash} className='story__thumbnail__preview' />}
|
||||
<img src={thumbnail} onLoad={handleImageLoad} alt={thumbnailDescription} title={thumbnailDescription} lang={lang} />
|
||||
</>
|
||||
) : <Skeleton />}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue