Skip to content

Commit

Permalink
fixed that text shift in faq when chevron clicked (#1829)
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelDragomir authored Jun 20, 2024
1 parent 72dcd1d commit f87988e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/Accordion/Accordion.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export type AccordionPropsType = {
className?: string;
/**
* Should Accordion have animation on hover.
* @default - false
* @default - false
*/
hasAnimationOnHover?: boolean;
};
Expand All @@ -59,7 +59,7 @@ function Accordion({

return (
<Card
className={classNames(styles.Accordion, className)}
className={classNames(styles.Accordion, className, 'justify-normal')}
hasAnimationOnHover={hasAnimationOnHover}
>
<div className={styles.headingContainer}>{content.headingChildren}</div>
Expand Down
2 changes: 1 addition & 1 deletion styles/faq.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@

.FAQ .FAQAccordion > button > svg {
fill: currentcolor;
top: 0.825rem;
top: 1.25rem;
}

0 comments on commit f87988e

Please sign in to comment.