Skip to content

Commit c5aafca

Browse files
authored
Bugfix/accordion svg duped class attribute (#2597)
1 parent 4267454 commit c5aafca

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/cuddly-bats-return.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@skeletonlabs/skeleton": patch
3+
---
4+
5+
Bugfix: Removed duplicate `class` attribute on AccordionItem SVG caret icon

packages/skeleton/src/lib/components/Accordion/AccordionItem.svelte

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
export let transitionOutParams: TransitionParams<TransitionOut> = getContext('transitionOutParams');
9797
9898
const svgCaretIcon = `
99-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class={classesControlCaret}>
99+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
100100
<path d="M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z" />
101101
</svg>`;
102102

0 commit comments

Comments
 (0)