diff --git a/apps/web/src/components/ChatView.tsx b/apps/web/src/components/ChatView.tsx index c27afda975..0ec78c8d5d 100644 --- a/apps/web/src/components/ChatView.tsx +++ b/apps/web/src/components/ChatView.tsx @@ -3237,14 +3237,14 @@ export default function ChatView(props: ChatViewProps) { {/* Top bar */}
{/* Input bar */} -
+
Sidebar Displays the mobile sidebar. -
{children}
+
+ {children} +
diff --git a/apps/web/src/index.css b/apps/web/src/index.css index 5c568ad5d6..f303b86296 100644 --- a/apps/web/src/index.css +++ b/apps/web/src/index.css @@ -58,6 +58,23 @@ } } +/* Safe-area inset utilities for iOS devices with a Dynamic Island / notch / + home indicator. Used on the topmost chrome surfaces so they stay clear of + the camera and gesture areas when the page is rendered with + viewport-fit=cover. Insets resolve to 0 on devices without safe areas. */ +@utility pt-safe { + padding-top: max(env(safe-area-inset-top), 0px); +} +@utility pb-safe { + padding-bottom: max(env(safe-area-inset-bottom), 0px); +} +@utility pl-safe { + padding-left: max(env(safe-area-inset-left), 0px); +} +@utility pr-safe { + padding-right: max(env(safe-area-inset-right), 0px); +} + /* Suppress all transitions during theme changes */ .no-transitions, .no-transitions *,