From 83d54351b13dee38db6f44e2440125b6444b9768 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 20 Nov 2020 16:14:32 +0100 Subject: [PATCH] put spacer behind rather than before link to open lightbox --- src/platform/web/ui/session/room/timeline/ImageView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/web/ui/session/room/timeline/ImageView.js b/src/platform/web/ui/session/room/timeline/ImageView.js index be7bef8d..855ab23f 100644 --- a/src/platform/web/ui/session/room/timeline/ImageView.js +++ b/src/platform/web/ui/session/room/timeline/ImageView.js @@ -39,8 +39,8 @@ export class ImageView extends TemplateView { style: `max-width: ${vm.thumbnailWidth}px; max-height: ${vm.thumbnailHeight}px;` }); const children = [ - vm.isPending ? img : t.a({href: vm.lightboxUrl}, img), t.div({className: "spacer", style: spacerStyle}), + vm.isPending ? img : t.a({href: vm.lightboxUrl}, img), t.time(vm.date + " " + vm.time), ]; if (vm.isPending) {