Skip to content

Commit

Permalink
feat: added classes for styling indicators (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hejtmus committed Aug 28, 2023
1 parent 588cb3d commit 33c2161
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/lib/Indicator/Section.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
export let activeSection: number
</script>

<div>
<ul>
<div class="svelte-fp-section-indicator">
<ul class="svelte-fp-section-indicator">
{#each sections as title, index}
<Dot {title} {index} bind:activeDot={activeSection} on:goto />
{/each}
Expand Down
4 changes: 2 additions & 2 deletions src/lib/Indicator/Slide.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
export let activeSlide: number
</script>

<div>
<ul>
<div class="svelte-fp-slide-indicator">
<ul class="svelte-fp-slide-indicator">
{#each slides as title, index}
<Dot {title} {index} activeDot={activeSlide} on:goto />
{/each}
Expand Down

0 comments on commit 33c2161

Please sign in to comment.