File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -152,8 +152,19 @@ export default function RootLayout({
152152 </ Script >
153153 </ >
154154 ) }
155+ < script
156+ dangerouslySetInnerHTML = { {
157+ __html : `
158+ if (window.Capacitor && (window.location.pathname === '/' || window.location.pathname === '/index.html')) {
159+ document.documentElement.style.display = 'none';
160+ window.location.replace('/map.html');
161+ }
162+ ` ,
163+ } }
164+ />
155165 </ head >
156- < body className = { `${ inter . variable } font-sans antialiased overflow-x-hidden` } >
166+ < body
167+ className = { `${ inter . variable } font-sans antialiased text-white scrollbar-none bg-[#050505]` } >
157168 < NativeAppBypass />
158169 < AdMobProvider >
159170 { children }
Original file line number Diff line number Diff line change @@ -914,7 +914,8 @@ function FlightTrackerInner() {
914914
915915 < div
916916 data-map-theme = { mapStyle . dark ? "dark" : "light" }
917- className = "pointer-events-none absolute inset-0 z-10"
917+ className = "pointer-events-none absolute inset-x-0 bottom-0 z-10"
918+ style = { { top : "var(--ad-banner-height, 0px)" } }
918919 >
919920 { ! fpvIcao24 && (
920921 < div className = "pointer-events-auto absolute left-3 top-3 flex items-center gap-3 sm:left-4 sm:top-4" >
You can’t perform that action at this time.
0 commit comments