make slideshow width and autorotation configurable

This commit is contained in:
2024-02-05 11:49:59 +01:00
parent a761e382d5
commit f8e99cdbda
4 changed files with 17 additions and 7 deletions

View File

@@ -30,6 +30,9 @@ $gap: var(--gap);
}
.snap-slideshow {
width: var(--slideshow-width);
margin: auto;
// Hide all contained images except the first
.snap-image:not(:first-child) {
display: none;