수정
This commit is contained in:
@@ -18,9 +18,9 @@ const initApp = async () => {
|
|||||||
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement);
|
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement);
|
||||||
|
|
||||||
root.render(
|
root.render(
|
||||||
<AppProvider>
|
<AppProvider>
|
||||||
<App />
|
<App />
|
||||||
</AppProvider>
|
</AppProvider>
|
||||||
);
|
);
|
||||||
// If you want to start measuring performance in your app, pass a function
|
// If you want to start measuring performance in your app, pass a function
|
||||||
// to log results (for example: reportWebVitals(console.log))
|
// to log results (for example: reportWebVitals(console.log))
|
||||||
|
|||||||
@@ -71,9 +71,9 @@ export declare const appBridge: import('@webview-bridge/react-native').BridgeSto
|
|||||||
export type AppBridge = typeof appBridge;
|
export type AppBridge = typeof appBridge;
|
||||||
export declare const WebView: import('react').ForwardRefExoticComponent<
|
export declare const WebView: import('react').ForwardRefExoticComponent<
|
||||||
import('react-native-webview/lib/WebViewTypes').IOSWebViewProps &
|
import('react-native-webview/lib/WebViewTypes').IOSWebViewProps &
|
||||||
import('react-native-webview/lib/WebViewTypes').AndroidWebViewProps &
|
import('react-native-webview/lib/WebViewTypes').AndroidWebViewProps &
|
||||||
import('react-native-webview/lib/WebViewTypes').WindowsWebViewProps &
|
import('react-native-webview/lib/WebViewTypes').WindowsWebViewProps &
|
||||||
import('react').RefAttributes<import('@webview-bridge/react-native').BridgeWebView>
|
import('react').RefAttributes<import('@webview-bridge/react-native').BridgeWebView>
|
||||||
>,
|
>,
|
||||||
linkWebMethod: <T>() => {
|
linkWebMethod: <T>() => {
|
||||||
current: import('@webview-bridge/react-native').WebMethod<T>;
|
current: import('@webview-bridge/react-native').WebMethod<T>;
|
||||||
|
|||||||
@@ -40,8 +40,8 @@ main {
|
|||||||
}
|
}
|
||||||
|
|
||||||
header{
|
header{
|
||||||
padding-top: env(safe-area-inset-top) !important;
|
/* padding-top: env(safe-area-inset-top) !important; */
|
||||||
height: calc(50px + env(safe-area-inset-top)) !important;
|
height: calc(50px + env(safe-area-inset-top)) !important;
|
||||||
}
|
}
|
||||||
main {
|
main {
|
||||||
padding-top: calc(50px + env(safe-area-inset-top)) !important;
|
padding-top: calc(50px + env(safe-area-inset-top)) !important;
|
||||||
@@ -89,16 +89,16 @@ main {
|
|||||||
width: 85px;
|
width: 85px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.full-menu-header{
|
.full-menu-header{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
top: env(safe-area-inset-top);
|
||||||
}
|
}
|
||||||
.full-menu-top-nav{
|
.full-menu-top-nav{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 50px;
|
top: calc(50px + env(safe-area-inset-top));
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
@@ -106,7 +106,7 @@ main {
|
|||||||
}
|
}
|
||||||
.full-menu-keywords-wrap{
|
.full-menu-keywords-wrap{
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 166px;
|
top: calc(166px + env(safe-area-inset-top));
|
||||||
z-index: 20;
|
z-index: 20;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
@@ -118,7 +118,7 @@ main {
|
|||||||
|
|
||||||
.full-menu-list{
|
.full-menu-list{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 234px;
|
top: calc(234px + env(safe-area-inset-top));
|
||||||
margin-top: 0;
|
margin-top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user