feat(pwa): add safe area insets for standalone mode
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
9dc4ad95c5
commit
d199e9e3a8
1 changed files with 8 additions and 0 deletions
|
|
@ -126,6 +126,14 @@
|
|||
body {
|
||||
@apply bg-background text-foreground;
|
||||
}
|
||||
@media (display-mode: standalone) {
|
||||
body {
|
||||
padding-top: env(safe-area-inset-top);
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
padding-left: env(safe-area-inset-left);
|
||||
padding-right: env(safe-area-inset-right);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.str-chat {
|
||||
|
|
|
|||
Loading…
Reference in a new issue