forked from mystiq/hydrogen-web
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;`
|
style: `max-width: ${vm.thumbnailWidth}px; max-height: ${vm.thumbnailHeight}px;`
|
||||||
});
|
});
|
||||||
const children = [
|
const children = [
|
||||||
vm.isPending ? img : t.a({href: vm.lightboxUrl}, img),
|
|
||||||
t.div({className: "spacer", style: spacerStyle}),
|
t.div({className: "spacer", style: spacerStyle}),
|
||||||
|
vm.isPending ? img : t.a({href: vm.lightboxUrl}, img),
|
||||||
t.time(vm.date + " " + vm.time),
|
t.time(vm.date + " " + vm.time),
|
||||||
];
|
];
|
||||||
if (vm.isPending) {
|
if (vm.isPending) {
|
||||||
|
|
Loading…
Reference in a new issue