Skip to content

Commit

Permalink
Merge pull request #2252 from adevinta/accordion-header-styles
Browse files Browse the repository at this point in the history
style(accordion): styles adjustement to match final specs
  • Loading branch information
Powerplex authored Jun 19, 2024
2 parents 9528fac + 61c9f38 commit 4476b2b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/components/accordion/src/AccordionItemTrigger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ export const ItemTrigger = forwardRef<HTMLButtonElement, AccordionItemTriggerPro

return (
<Component ref={ref} data-spark-component="accordion-item-trigger" {...mergedProps}>
<div>{children}</div>
<div className="flex items-center gap-lg">{children}</div>
<Icon
className={cx('ml-md shrink-0 rotate-0 transition duration-100 ease-in', {
intent="neutral"
className={cx('shrink-0 rotate-0 transition duration-100 ease-in', {
'rotate-180': isOpen,
})}
size="sm"
Expand Down

0 comments on commit 4476b2b

Please sign in to comment.