From 8b21505089289b323eea6a3774ce9a452bd2f7e6 Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Fri, 9 Mar 2018 23:30:17 -0800 Subject: [PATCH] fix offline display of images in timeline --- routes/_components/NonAutoplayGifv.html | 18 ++++++++++++++---- routes/_components/status/Media.html | 14 ++++++++++---- routes/_static/media.js | 3 +++ 3 files changed, 27 insertions(+), 8 deletions(-) diff --git a/routes/_components/NonAutoplayGifv.html b/routes/_components/NonAutoplayGifv.html index 73235191..666b7352 100644 --- a/routes/_components/NonAutoplayGifv.html +++ b/routes/_components/NonAutoplayGifv.html @@ -17,11 +17,13 @@ playsinline /> {{else}} - {{label}} {{/if}} @@ -32,6 +34,9 @@ \ No newline at end of file diff --git a/routes/_components/status/Media.html b/routes/_components/status/Media.html index 178bb8ff..1c5036f6 100644 --- a/routes/_components/status/Media.html +++ b/routes/_components/status/Media.html @@ -2,17 +2,21 @@ {{else}} @@ -21,6 +25,7 @@ aria-label="Show image: {{media.description || ''}}" on:click="onClickShowImageButton()" on:mouseover="set({mouseover: event})" + style="width: {{inlineWidth}}px; height: {{inlineHeight}}px;" > {{#if media.type === 'gifv' && $autoplayGifs}}