From ada6b9f699254feef9d1e4dd65a963e890ae1b4c Mon Sep 17 00:00:00 2001 From: sgenoud Date: Thu, 22 Aug 2019 07:31:14 +0200 Subject: [PATCH] fix: Fix the blurhash alignment and general style (#1418) * Fix the blurhash alignment issue * Fix the video blurhash style --- src/routes/_components/status/Media.html | 22 ++-------------- .../status/StatusMediaAttachments.html | 25 ++++++++++++++++--- 2 files changed, 23 insertions(+), 24 deletions(-) diff --git a/src/routes/_components/status/Media.html b/src/routes/_components/status/Media.html index 15dffbf6..12a49efd 100644 --- a/src/routes/_components/status/Media.html +++ b/src/routes/_components/status/Media.html @@ -1,21 +1,4 @@ -{#if type === 'video' || type === 'audio'} - {#if blurhash} - {#if type === 'video'} -
- -
- {/if} - {:else} +{#if (type === 'video' && !blurhash) || type === 'audio'} - {/if} {:else}