3syisgbyq: Keep sheet controls clear of the home indicator with a safe-area bottom padding and viewport-fit cover

This commit is contained in:
2026-10-20 08:44:38 -06:00
parent f4f3ae28fc
commit 695ebe1095
2 changed files with 5 additions and 2 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
import type { Metadata } from "next";
import type { Metadata, Viewport } from "next";
import type { ReactNode } from "react";
import { Cormorant_Garamond, Manrope } from "next/font/google";
import { DEFAULT_THEME, THEME_SCRIPT } from "@/lib/theme";
@@ -33,6 +33,9 @@ const cormorant = Cormorant_Garamond({
display: "swap",
});
// viewport-fit=cover makes env(safe-area-inset-*) report the iPhone home indicator.
export const viewport: Viewport = { width: "device-width", initialScale: 1, viewportFit: "cover" };
export const metadata: Metadata = {
title: "Minnect feed browser",
description: "Sign in with your Minnect account to read and write the home feed.",