diff --git a/src/app/index.tsx b/src/app/index.tsx index 93f72b8..61b12da 100644 --- a/src/app/index.tsx +++ b/src/app/index.tsx @@ -18,9 +18,9 @@ const initApp = async () => { const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement); root.render( - - - + + + ); // If you want to start measuring performance in your app, pass a function // to log results (for example: reportWebVitals(console.log)) diff --git a/src/output.ts b/src/output.ts index 790d454..13b7eec 100644 --- a/src/output.ts +++ b/src/output.ts @@ -71,9 +71,9 @@ export declare const appBridge: import('@webview-bridge/react-native').BridgeSto export type AppBridge = typeof appBridge; export declare const WebView: import('react').ForwardRefExoticComponent< import('react-native-webview/lib/WebViewTypes').IOSWebViewProps & - import('react-native-webview/lib/WebViewTypes').AndroidWebViewProps & - import('react-native-webview/lib/WebViewTypes').WindowsWebViewProps & - import('react').RefAttributes + import('react-native-webview/lib/WebViewTypes').AndroidWebViewProps & + import('react-native-webview/lib/WebViewTypes').WindowsWebViewProps & + import('react').RefAttributes >, linkWebMethod: () => { current: import('@webview-bridge/react-native').WebMethod; diff --git a/src/shared/ui/assets/css/style-fix.css b/src/shared/ui/assets/css/style-fix.css index b12418d..910afc8 100644 --- a/src/shared/ui/assets/css/style-fix.css +++ b/src/shared/ui/assets/css/style-fix.css @@ -40,8 +40,8 @@ main { } header{ - padding-top: env(safe-area-inset-top) !important; - height: calc(50px + env(safe-area-inset-top)) !important; + /* padding-top: env(safe-area-inset-top) !important; */ + height: calc(50px + env(safe-area-inset-top)) !important; } main { padding-top: calc(50px + env(safe-area-inset-top)) !important; @@ -89,16 +89,16 @@ main { width: 85px; } - .full-menu-header{ position: fixed; z-index: 20; background-color: #ffffff; width: 100%; + top: env(safe-area-inset-top); } .full-menu-top-nav{ position: fixed; - top: 50px; + top: calc(50px + env(safe-area-inset-top)); z-index: 20; width: 100%; background-color: #ffffff; @@ -106,7 +106,7 @@ main { } .full-menu-keywords-wrap{ position: fixed; - top: 166px; + top: calc(166px + env(safe-area-inset-top)); z-index: 20; width: 100%; background-color: #ffffff; @@ -118,7 +118,7 @@ main { .full-menu-list{ position: absolute; - top: 234px; + top: calc(234px + env(safe-area-inset-top)); margin-top: 0; width: 100%; }