diff --git a/package-lock.json b/package-lock.json index 1a1d3b9c..917b0030 100644 --- a/package-lock.json +++ b/package-lock.json @@ -85,6 +85,7 @@ "streamdown": "~1.0.0", "tailwind-merge": "^2.5.2", "tailwindcss-animate": "^1.0.7", + "tailwindcss-safe-area": "^0.8.0", "turndown": "^7.2.1", "uri-templates": "^0.2.0", "use-stick-to-bottom": "^1.1.1", @@ -10962,6 +10963,21 @@ "tailwindcss": ">=3.0.0 || insiders" } }, + "node_modules/tailwindcss-safe-area": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/tailwindcss-safe-area/-/tailwindcss-safe-area-0.8.0.tgz", + "integrity": "sha512-OIKZfSvinI9kZ3hduoSxqP8EfW2rXoKvHnNyTDY2zwem06IIRtLcKdMe0nF98o+Xluk5Fy7mmesr1rSXg/wkhA==", + "license": "MIT", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/mvllow" + }, + "peerDependencies": { + "tailwindcss": "^2.0.0 || >=3.0.0" + } + }, "node_modules/tailwindcss/node_modules/postcss-selector-parser": { "version": "6.1.2", "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz", diff --git a/package.json b/package.json index 609c18ac..3522d43c 100644 --- a/package.json +++ b/package.json @@ -93,6 +93,7 @@ "streamdown": "~1.0.0", "tailwind-merge": "^2.5.2", "tailwindcss-animate": "^1.0.7", + "tailwindcss-safe-area": "^0.8.0", "turndown": "^7.2.1", "uri-templates": "^0.2.0", "use-stick-to-bottom": "^1.1.1", diff --git a/src/components/AppLayout.tsx b/src/components/AppLayout.tsx index cc9552ed..69311d9a 100644 --- a/src/components/AppLayout.tsx +++ b/src/components/AppLayout.tsx @@ -72,20 +72,22 @@ export function AppLayout({ return (
{/* Mobile Header */} -
-
- {showSidebar && ( - - )} +
+
+
+ {showSidebar && ( + + )} +
+ {headerContent}
- {headerContent}
{/* Mobile Sidebar Overlay - show if showSidebar is true and sidebar is visible */} diff --git a/src/components/OnboardingDialog.tsx b/src/components/OnboardingDialog.tsx index ba098e24..af3d8ec1 100644 --- a/src/components/OnboardingDialog.tsx +++ b/src/components/OnboardingDialog.tsx @@ -171,7 +171,7 @@ export function OnboardingDialog({ open, onOpenChange }: OnboardingDialogProps) return ( <> - + {step === 'open-source' && ( diff --git a/src/components/ProjectSidebar.tsx b/src/components/ProjectSidebar.tsx index c5fbcfa5..03022f82 100644 --- a/src/components/ProjectSidebar.tsx +++ b/src/components/ProjectSidebar.tsx @@ -131,34 +131,36 @@ export function ProjectSidebar({ return (
{/* Header with Logo */} -
-
- - {(onToggleSidebar || (onClose && isMobile)) && ( -
- -
- )} +
+
+
+ + {(onToggleSidebar || (onClose && isMobile)) && ( +
+ +
+ )} +
@@ -229,8 +231,8 @@ export function ProjectSidebar({
{/* Settings and Help at Bottom */} -
-
+
+
+ )} + + +
+ )} + /> +
+ + {/* Content area */} +
+ {hasBuiltProject ? ( +