put spacer behind rather than before link to open lightbox
This commit is contained in:
parent
45dd539179
commit
83d54351b1
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Reference in a new issue