fix: reduce padding and spacing for mobile

Main: px-4 py-6 on mobile (was px-8 py-12). Section accordion:
mb/py on inactive links tightened to 1/1 on mobile, space-y-0
between sections. Active title text-xl on mobile to prevent
wrapping at ~400px, matches inactive title size.
This commit is contained in:
Ilia Mashkov committed 2026-05-19 18:06:51 +03:00
1 parent d0f09f0dbd
commit 7f6e6369ff
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ export default async function SectionPage({ params }: Props) {
}
return (
<main className="px-8 py-12 lg:py-16 lg:px-16">
<main className="px-4 py-6 sm:px-8 sm:py-12 lg:py-16 lg:px-16">
<SectionsAccordion sections={sections} activeSlug={activeSlug}>
{sections.map((s) => (
<SectionFactory key={s.slug} slug={s.slug} />