diff --git a/src/app/components/FAQs.tsx b/src/app/components/FAQs.tsx index bcd58651..373a19d6 100644 --- a/src/app/components/FAQs.tsx +++ b/src/app/components/FAQs.tsx @@ -43,7 +43,6 @@ const SectionTitleStyled = styled(SectionTitle)` align-items: center; justify-content: center; margin: 0 auto; - padding: ${SpacingM} clamp(4rem, 15vw, 12rem); background-image: url("/faqs.svg"); background-repeat: no-repeat; @@ -105,6 +104,7 @@ const QuestionBox = styled.div` border-radius: 10px; box-shadow: 2px 2px 8px black; background-color: #5b5340; + cursor: pointer; `; const SupportImage = styled(Image)<{ @@ -196,7 +196,6 @@ const TorchWrapper = styled.div` position: relative; width: 24px; height: 40px; - cursor: pointer; `; const FireGif = styled(Image)` @@ -215,7 +214,6 @@ const TorchIcon = styled(Image)` `; const QuestionTitle = styled(BodyBold)` - cursor: pointer; color: #ffffff; `; @@ -338,7 +336,7 @@ export default function FAQs() { const renderFaq = (faq: Faq) => ( - + toggleFaq(faq.id)}> - toggleFaq(faq.id)}> + {activeFaqId === faq.id && ( - toggleFaq(faq.id)}> - {faq.question} - + {faq.question}