Skip to content

Commit 8d6cf14

Browse files
committed
fix: CollapsibleList - expand icon rotation fix
1 parent 5c1b37b commit 8d6cf14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Shared/Components/CollapsibleList/CollapsibleList.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const CollapsibleList = ({ config, onCollapseBtnClick }: CollapsibleListP
2929
>
3030
<ICExpand
3131
className="icon-dim-20 fcn-6 dc__no-shrink cursor rotate"
32-
style={{ ['--rotateBy' as string]: isExpanded ? '90deg' : '0deg' }}
32+
style={{ ['--rotateBy' as string]: isExpanded ? '0deg' : '-90deg' }}
3333
/>
3434
<span className="flex-grow-1 dc__align-left dc__truncate">{header}</span>
3535
</button>

0 commit comments

Comments
 (0)