Skip to content

Commit 2b80c88

Browse files
committed
feat: improve accordion
1 parent 294554d commit 2b80c88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Faq.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,14 @@ const faqs = [
4141
<div class="accordion cursor-pointer bg-[#1E1E1E] border border-[#37363C] rounded-3xl w-full">
4242
<div
4343
aria-expanded="false"
44-
class="accordion-trigger flex justify-between p-6 pb-0"
44+
class="accordion-trigger flex justify-between p-6"
4545
>
4646
<h2 class="font-semibold">{faq.question}</h2>
4747
<Icon name="chevron" class="chevron w-4 " />
4848
</div>
49-
<div class="accordion-content p-6 pt-0">
49+
<div class="accordion-content">
5050
<div>
51-
<p class="text-sm mt-4">{faq.answer}</p>
51+
<p class="text-sm p-6 pt-0 ">{faq.answer}</p>
5252
</div>
5353
</div>
5454
</div>

0 commit comments

Comments
 (0)