Merged in fix/sw-1127-image-fixes (pull request #1123)

Fix/sw-1127 image fixes for lightbox

* fix(SW-1127): move back to top button behind lightbox

* fix(SW-1127): don't loop lightbox thumbnails

* fix(SW-1127): nicer animation in the gallery

This both fixes a bug in the gallery where the animation in the carousel
didn't work so good and also animates the images different directions
depending on if the user go left or right.


Approved-by: Matilda Landström
This commit is contained in:
Niclas Edenvin
2025-01-07 07:56:17 +00:00
parent f2e29ae049
commit dca02b90f0
5 changed files with 60 additions and 13 deletions

View File

@@ -5,7 +5,7 @@
align-items: flex-end;
position: fixed;
bottom: 20px;
z-index: 1000;
z-index: var(--back-to-top-button);
background-color: var(--Base-Surface-Primary-light-Normal);
color: var(--Base-Button-Secondary-On-Fill-Normal);
border: 2px solid var(--Base-Button-Secondary-On-Fill-Normal);