mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
save nav padding for terminal
This commit is contained in:
1 parent
1d0231bc03
commit
7a11137aed
2 files changed
+5
-1
No files matched your search
@@ -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>
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user