mirror of
https://github.com/ae-utbm/sith.git
synced 2025-09-23 16:43:53 +00:00
Fix slideshow transition
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
<div id="slides">
|
||||
<template x-for="(poster, index) in posters">
|
||||
<div class="slide" :class="{
|
||||
active: index === current,
|
||||
current: index === current,
|
||||
previous: index !== current && index === previous,
|
||||
}">
|
||||
<img :src="poster.url">
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user