diff --git a/src/components/admin/admin-shell.tsx b/src/components/admin/admin-shell.tsx index 9b4f395f6..f6e68ef50 100644 --- a/src/components/admin/admin-shell.tsx +++ b/src/components/admin/admin-shell.tsx @@ -151,8 +151,13 @@ export function AdminShell({ active, children }: AdminShellProps) { const { t } = useTranslations(); const activeSlug = deriveActiveSlug(pathname, active); + // v1.4.25 W8 — AuthShell wraps the page in `px-4 py-6 md:px-6` + // already, so this inner shell only carries the wider max-width. + // Previously the duplicate `px-4 py-6 md:px-6 md:py-8` here was + // producing visibly more top/bottom whitespace on Settings/Admin + // pages than on Dashboard/Insights/Measurements. return ( -
+
{/* Mobile section strip — horizontal scroll, hidden on md+. `no-scrollbar` (defined in `globals.css`) suppresses the painted scrollbar at the top of every admin page; the diff --git a/src/components/settings/settings-shell.tsx b/src/components/settings/settings-shell.tsx index 9fea112ef..410d2379c 100644 --- a/src/components/settings/settings-shell.tsx +++ b/src/components/settings/settings-shell.tsx @@ -135,8 +135,13 @@ export function SettingsShell({ active, children }: SettingsShellProps) { const { t } = useTranslations(); const activeSlug = deriveActiveSlug(pathname, active); + // v1.4.25 W8 — AuthShell wraps the page in `px-4 py-6 md:px-6` + // already, so this inner shell only carries the wider max-width. + // Previously the duplicate `px-4 py-6 md:px-6 md:py-8` here was + // producing visibly more top/bottom whitespace on Settings/Admin + // pages than on Dashboard/Insights/Measurements. return ( -
+
{/* Mobile section strip — horizontal scroll, hidden on md+. `no-scrollbar` (defined in `globals.css`) suppresses the painted scrollbar; the horizontal swipe + keyboard arrow