Skip to content

Commit

Permalink
Rotate the chevron in FAQs
Browse files Browse the repository at this point in the history
  • Loading branch information
hasparus committed Aug 21, 2024
1 parent d0c9dca commit fad9732
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function FrequentlyAskedQuestions({ className }: { className?: string })
<Accordion.Header>
<Accordion.Trigger className="hover:bg-beige-100/80 -mx-2 my-1 flex w-[calc(100%+1rem)] flex-row items-center justify-between rounded-xl bg-white px-2 py-3 text-left font-medium transition-colors duration-[0.8s] md:my-2 md:py-4">
{question}
<ChevronDownIcon className="size-5" />
<ChevronDownIcon className="size-5 transition duration-500 ease-in [[data-state='open']_&]:[transform:rotateX(180deg)]" />
</Accordion.Trigger>
</Accordion.Header>
<Accordion.Content className="rdx-state-open:motion-safe:animate-accordion-down rdx-state-closed:motion-safe:animate-accordion-down overflow-hidden bg-white text-green-800 transition-all">
Expand Down

0 comments on commit fad9732

Please sign in to comment.