Skip to content

Commit 33b7395

Browse files
authored
Landing page FAQ improvements and fixes (#3444)
* Fix landing page accordion icons and improve spacing and click target sizes. * Prettier
1 parent 88b70b8 commit 33b7395

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/frontend/src/routes/(new-styling)/+page.svelte

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -198,21 +198,21 @@
198198
// Layout, spacing and dividers
199199
"divide-border-secondary mx-5 flex flex-1 flex-col divide-y-1",
200200
// Details padding
201-
"[&_details]:pb-10",
201+
"[&_details]:pb-6",
202202
// Summary layout
203-
"[&_summary]:flex [&_summary]:flex-row [&_summary]:items-center [&_summary]:gap-4 [&_summary]:pt-10 [&_summary]:pb-1",
203+
"[&_summary]:-mb-6 [&_summary]:flex [&_summary]:flex-row [&_summary]:items-center [&_summary]:gap-4 [&_summary]:py-10",
204204
// Summary styling
205205
"[&_summary]:text-text-primary [&_summary]:cursor-pointer [&_summary]:font-medium [&_summary]:select-none md:[&_summary]:text-xl",
206206
// Summary icons
207207
"[&_summary_svg]:text-text-placeholder [&_summary_svg]:ml-auto [&_summary_svg]:size-6 [&_summary_svg]:shrink-0",
208208
// Toggle summary icons
209-
"[&_details:not(:open)_summary_svg:last-child]:hidden [&_details:open_summary_svg:first-child]:hidden",
209+
"[&_details:not(:open)_summary_svg:first-child]:hidden [&_details:open_summary_svg:last-child]:hidden",
210210
// Paragraph styling and spacing
211-
"[&_p]:text-text-base [&_p]:text-text-secondary [&_p_+_p]:mt-4",
211+
"[&_p]:text-text-secondary [&_p]:mb-4 [&_p]:text-base",
212212
// Paragraph + list spacing
213-
"[&_p_+_ul]:mt-4",
213+
"[&_ul]:mb-4",
214214
// List styling and spacing
215-
"[&_li]:text-text-base [&_li]:text-text-secondary [&_li_+_li]:mt-4",
215+
"[&_li]:text-text-secondary [&_li]:text-base [&_li_+_li]:mt-4",
216216
]}
217217
>
218218
<details>

0 commit comments

Comments
 (0)