diff --git a/web/app/chat/layout.tsx b/web/app/chat/layout.tsx
index fabe653b..31bd4e2b 100644
--- a/web/app/chat/layout.tsx
+++ b/web/app/chat/layout.tsx
@@ -9,7 +9,9 @@ export default function Layout({ children }: { children: React.ReactNode }) {
- {children}
+
+ {children}
+
diff --git a/web/app/friends/layout.tsx b/web/app/friends/layout.tsx
index 0146483c..721d92db 100644
--- a/web/app/friends/layout.tsx
+++ b/web/app/friends/layout.tsx
@@ -9,7 +9,9 @@ export default function Layout({ children }: { children: React.ReactNode }) {
- {children}
+
+ {children}
+
diff --git a/web/app/globals.css b/web/app/globals.css
index fe4c7bb8..d0c12603 100644
--- a/web/app/globals.css
+++ b/web/app/globals.css
@@ -11,3 +11,8 @@
.cm-li-btn {
@apply no-animation h-auto w-full justify-start rounded-none border-none bg-white px-6 py-4 text-left font-normal text-base shadow-none hover:bg-zinc-100 focus:bg-zinc-300;
}
+
+/* Bottom Bar の分の幅 */
+.cm-pb-footer {
+ padding-bottom: calc(3rem + env(safe-area-inset-bottom));
+}
diff --git a/web/app/home/layout.tsx b/web/app/home/layout.tsx
index ec50a110..cfb28d1f 100644
--- a/web/app/home/layout.tsx
+++ b/web/app/home/layout.tsx
@@ -11,7 +11,7 @@ export default function Layout({
<>
- {children}
+ {children}
>
diff --git a/web/app/layout.tsx b/web/app/layout.tsx
index 01aa0a16..4630892a 100644
--- a/web/app/layout.tsx
+++ b/web/app/layout.tsx
@@ -33,10 +33,11 @@ export default function RootLayout({
-
+ /> */}
CourseMate
diff --git a/web/app/search/layout.tsx b/web/app/search/layout.tsx
index 87bbc6a3..8f275579 100644
--- a/web/app/search/layout.tsx
+++ b/web/app/search/layout.tsx
@@ -9,7 +9,9 @@ export default function Layout({ children }: { children: React.ReactNode }) {
- {children}
+
+ {children}
+
diff --git a/web/app/settings/layout.tsx b/web/app/settings/layout.tsx
index 0dfbe9fc..f3d9fa7a 100644
--- a/web/app/settings/layout.tsx
+++ b/web/app/settings/layout.tsx
@@ -11,7 +11,9 @@ export default function Layout({
<>
- {children}
+
+ {children}
+
>
diff --git a/web/package.json b/web/package.json
index ecaa4c00..0b8c3242 100644
--- a/web/package.json
+++ b/web/package.json
@@ -6,6 +6,7 @@
"scripts": {
"dev": "next dev -p 5173",
"build": "next build",
+ "postbuild": "find ./out -type f \\( -name \"*.html\" -o -name \"*.txt\" \\) -exec sed -E -i '' 's/(width=device-width, initial-scale=1)([^,])/\\1, viewport-fit=cover\\2/g' {} +",
"preview": "next start"
},
"dependencies": {