From 0b6bb6354b346b6068ba511f9dc1400b8c55e1db Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Thu, 1 Feb 2018 18:29:29 -0800 Subject: [PATCH] tweak and simplify media appearance --- routes/_components/status/Media.html | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/routes/_components/status/Media.html b/routes/_components/status/Media.html index b2457bdc..605f8c22 100644 --- a/routes/_components/status/Media.html +++ b/routes/_components/status/Media.html @@ -1,7 +1,6 @@
+ style="grid-template-columns: repeat(auto-fit, minmax({{maxMediaWidth}}px, 1fr));" > {{#each mediaAttachments as media}} -
{{#if media.type === 'video'}} {{elseif media.type === 'gifv'}}
{{/each}}