mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
put spacer behind rather than before link to open lightbox
This commit is contained in:
parent
45dd539179
commit
83d54351b1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user