save nav padding for terminal

This commit is contained in:
lemonknowsall committed 2025-09-27 20:59:59 -07:00
1 parent 1d0231bc03
commit 7a11137aed
2 files changed
+5 -1

No files matched your search

+1 -1
View File
@@ -750,7 +750,7 @@ export function PreviewPane({ projectId, activeTab, onToggleView, projectName, o
variant="outline"
size="sm"
onClick={() => setMobileCodeView('terminal')}
className="fixed bottom-12 right-4 h-12 w-12 p-0 rounded-full shadow-lg bg-background border-2"
className="fixed right-4 bottom-safe-nav z-20 h-12 w-12 p-0 rounded-full shadow-lg bg-background border-2"
>
<Terminal className="h-6 w-6" />
</Button>
+4
View File
@@ -260,6 +260,10 @@
padding-top: env(safe-area-inset-top);
}
.bottom-safe-nav {
bottom: calc(env(safe-area-inset-bottom) + 3.75rem);
}
/* Mobile navigation button styles - text/icon highlighting only */
.mobile-nav-button,
.mobile-nav-button:hover,