add cursor pointer to images in the gallery

This commit is contained in:
Luca Orio 2022-12-22 23:49:23 -05:00
parent 7c80784cae
commit 26261d2dc3
2 changed files with 2 additions and 0 deletions

View file

@ -20,6 +20,7 @@ const buildHorizontal = (
figure.style.borderRadius = `${settings.radius}px`
figure.style.flex = '1 0 auto'
figure.style.overflow = 'hidden'
figure.style.cursor = 'pointer'
figure.setAttribute('data-name', file.name)
figure.setAttribute('data-folder', file.name)
figure.setAttribute('data-src', file.uri)

View file

@ -17,6 +17,7 @@ const buildVertical = (
figure.style.marginBottom = `${settings.gutter}px`
figure.style.width = '100%'
figure.style.height = 'auto'
figure.style.cursor = 'pointer'
figure.setAttribute('data-name', file.name)
figure.setAttribute('data-folder', file.name)
figure.setAttribute('data-src', file.uri)