From 0c9208fee9ed480a49e12b35deb4e19a9e1d38e6 Mon Sep 17 00:00:00 2001 From: mortezaei Date: Thu, 27 Aug 2026 13:26:34 +0330 Subject: [PATCH] fix webview --- src/app/globals.css | 5 +- src/app/layout.tsx | 7 +- .../Componentes/navigation-button.tsx | 114 ++++++++++++------ src/components/Componentes/page-header.tsx | 19 +-- src/translations/locales/ar.json | 7 +- src/translations/locales/az.json | 7 +- src/translations/locales/bn.json | 7 +- src/translations/locales/da.json | 7 +- src/translations/locales/de.json | 7 +- src/translations/locales/en.json | 7 +- src/translations/locales/es.json | 7 +- src/translations/locales/fa.json | 7 +- src/translations/locales/fr.json | 7 +- src/translations/locales/gu.json | 7 +- src/translations/locales/ha.json | 7 +- src/translations/locales/he.json | 13 +- src/translations/locales/hi.json | 7 +- src/translations/locales/id.json | 13 +- src/translations/locales/ks.json | 13 +- src/translations/locales/pt.json | 13 +- src/translations/locales/ru.json | 7 +- src/translations/locales/sw.json | 13 +- src/translations/locales/tg.json | 13 +- src/translations/locales/tr.json | 13 +- src/translations/locales/ul.json | 13 +- src/translations/locales/ur.json | 13 +- src/translations/locales/uz.json | 13 +- src/translations/locales/zh.json | 7 +- 28 files changed, 240 insertions(+), 133 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index d117f4a..67bd8fa 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -1,6 +1,7 @@ @import "tailwindcss"; :root { + --background: #F5F5F5; --default-page-background-image: url("/assets/images/home-Checkups-List.svg"); --safe-top: env(safe-area-inset-top, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px); @@ -144,7 +145,9 @@ font-size: 16px; } -html { +html, +body { + background-color: #F5F5F5; width: 100%; height: 100%; overflow: hidden; diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 97a842a..4685c35 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -61,7 +61,7 @@ export const viewport: Viewport = { maximumScale: 1, userScalable: false, viewportFit: "cover", - themeColor: "#ffffff", + themeColor: "#F5F5F5", interactiveWidget: "overlays-content", }; @@ -92,6 +92,11 @@ export default async function RootLayout({ suppressHydrationWarning > +