Skip to content

Commit 6ba77ab

Browse files
committed
more tweaks
1 parent 781833a commit 6ba77ab

File tree

2 files changed

+15
-7
lines changed

2 files changed

+15
-7
lines changed

style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3657,6 +3657,10 @@ li li {
36573657
line-height: 1.25;
36583658
}
36593659

3660+
.md\:leading-relaxed {
3661+
line-height: 1.625;
3662+
}
3663+
36603664
.md\:shadow-xl {
36613665
--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
36623666
--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
@@ -3968,3 +3972,7 @@ li li {
39683972
}
39693973
}
39703974

3975+
.\[\&\:\:-webkit-details-marker\]\:hidden::-webkit-details-marker {
3976+
display: none;
3977+
}
3978+

template-parts/sections/section-faq.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@
1212
?>
1313

1414
<section class="md:py-24 p-4 relative overflow-hidden">
15-
<div class="mx-auto md:max-w-7xl text-center space-y-10">
15+
<div class="mx-auto md:max-w-7xl space-y-3 md:space-y-10">
1616
<div class="md:space-y-5 space-y-2.5 md:max-w-3xl mx-auto">
17-
<h2 class="text-2xl font-bold md:text-5xl font-display">
18-
Frequently Asked Queries
17+
<h2 class="text-2xl text-center font-bold md:text-5xl font-display">
18+
FAQs
1919
</h2>
2020

21-
<p class="md:text-base text-sm font-normal sm:block text-neutral-500">
21+
<!--<p class="md:text-base text-sm font-normal text-center sm:block text-neutral-500">
2222
Efficiently productivate reliable paradigms before ubiquitous models. Continually utilize frictionless expertise whereas tactical relationships. Still have questions? Contact us
23-
</p>
23+
</p>-->
2424
</div>
2525

2626
<div class="md:space-y-3 space-y-2.5 max-w-2xl mx-auto divide-y divide-neutral-100">
2727
<?php
2828
foreach ($faqData as $data) :
2929
?>
3030
<details class="group flex space-y-2.5 md:pt-3 pt-2.5">
31-
<summary class="flex cursor-pointer items-center justify-between gap-1.5">
31+
<summary class="flex cursor-pointer items-start justify-between gap-1.5 [&::-webkit-details-marker]:hidden">
3232
<h2 class="md:text-base text-sm font-semibold text-gray-900">
3333
<?= $data['question']; ?>
3434
</h2>
@@ -40,7 +40,7 @@
4040
</span>
4141
</summary>
4242

43-
<p class="text-start text-base leading-relaxed text-neutral-500">
43+
<p class="text-start text-sm md:text-base md:leading-relaxed text-neutral-500">
4444
<?= $data['answer']; ?>
4545
</p>
4646
</details>

0 commit comments

Comments
 (0)