Change div to button for dot

This commit is contained in:
Myrdin
2022-03-28 19:29:18 +02:00
parent 573c2b0779
commit 3aea594f28

View File

@@ -5,11 +5,11 @@
export let active = false
</script>
<div
<button
class="sc-carousel-dot__dot"
class:sc-carousel-dot__dot_active={active}
on:click
></div>
></button>
<style>
:root {