Skip to content

Commit

Permalink
fix: unclear share icon in photo viewer
Browse files Browse the repository at this point in the history
This was mentioned at some point in the past, but I forgot about it, and it was
only recently that I remembered it again.

If people complain again, they must do UX research themselves and subsequently
submit a PR.
  • Loading branch information
tomudding committed Nov 29, 2024
1 parent da43dc2 commit c42ded3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/Photo/view/photo/album/index.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ $this->scriptUrl()->requireUrl('member/search')
title: '<?= $this->translate('Share') ?>',
html: {
isCustomSVG: true,
inner: '<use href="<?= $this->basePath('sprites/fontawesome/solid.svg#share') ?>"></use>',
inner: '<use href="<?= $this->basePath('sprites/fontawesome/solid.svg#share-nodes') ?>"></use>',
},
onClick: (event, el, pswp) => {
let id = pswp.currSlide.data.element.dataset.id;
Expand Down

0 comments on commit c42ded3

Please sign in to comment.