From d8e2cf842bc235410a5cc710603dba4293ff4492 Mon Sep 17 00:00:00 2001 From: Chad Curtis Date: Sat, 4 Apr 2026 06:22:25 -0500 Subject: [PATCH] Center Blobbi on page and remove dashboard shell padding - Remove px/py padding from DashboardShell main element - Center hero section vertically using 60dvh min-height - Add useLayoutOptions({ hasSubHeader: true }) for proper mobile bar handling --- src/pages/BlobbiPage.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pages/BlobbiPage.tsx b/src/pages/BlobbiPage.tsx index 8a7539cb..4ce6a617 100644 --- a/src/pages/BlobbiPage.tsx +++ b/src/pages/BlobbiPage.tsx @@ -28,6 +28,7 @@ import { ScrollArea } from '@/components/ui/scroll-area'; import { BlobbiStageVisual } from '@/blobbi/ui/BlobbiStageVisual'; import { BlobbiPhotoModal } from '@/blobbi/ui/BlobbiPhotoModal'; import { useBlobbiCompanionData } from '@/blobbi/companion/hooks/useBlobbiCompanionData'; +import { useLayoutOptions } from '@/contexts/LayoutContext'; import { cn } from '@/lib/utils'; import { @@ -771,7 +772,7 @@ interface DashboardShellProps { function DashboardShell({ children }: DashboardShellProps) { return ( -
+
{/* Responsive container: narrow on mobile, wider on desktop with reasonable max */}
{children} @@ -862,6 +863,8 @@ function BlobbiDashboard({ onDevEditorApply, isDevUpdating, }: BlobbiDashboardProps) { + useLayoutOptions({ hasSubHeader: true }); + const isSleeping = companion.state === 'sleeping'; const isEgg = companion.stage === 'egg'; @@ -1537,7 +1540,7 @@ function BlobbiDashboard({
{/* ─── Hero Section (always visible below drawer) ─── */} -
+
{/* Main Blobbi Visual + Curved Stats Orbit */} {isActiveFloatingCompanion ? (