fix(components/media): Handling of grouped videos (#1409)
* fix(components/media): Handling of grouped videos Fixes #1404 * fix(status/media): Wrap in a div
This commit is contained in:
parent
a895abe2c9
commit
acb134e518
|
@ -1,17 +1,19 @@
|
||||||
{#if type === 'video' || type === 'audio'}
|
{#if type === 'video' || type === 'audio'}
|
||||||
{#if blurhash}
|
{#if blurhash}
|
||||||
{#if type === 'video'}
|
{#if type === 'video'}
|
||||||
<LazyImage
|
<div>
|
||||||
alt={description}
|
<LazyImage
|
||||||
title={description}
|
alt={description}
|
||||||
src={previewUrl}
|
title={description}
|
||||||
fallback={oneTransparentPixel}
|
src={previewUrl}
|
||||||
blurhash={blurhash}
|
fallback={oneTransparentPixel}
|
||||||
width={inlineWidth}
|
blurhash={blurhash}
|
||||||
height={inlineHeight}
|
width={inlineWidth}
|
||||||
background="var(--loading-bg)"
|
height={inlineHeight}
|
||||||
{focus}
|
background="var(--loading-bg)"
|
||||||
/>
|
{focus}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
{:else}
|
{:else}
|
||||||
<button id={elementId}
|
<button id={elementId}
|
||||||
|
|
Loading…
Reference in a new issue