列表
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
.customerNavbar {
|
||||
position: sticky;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 999;
|
||||
background-color: #ffffff;
|
||||
overflow: hidden;
|
||||
z-index: 999;
|
||||
width: 100%;
|
||||
background-color: #fff;
|
||||
}
|
||||
@@ -9,12 +9,12 @@ interface IProps {
|
||||
const CustomNavbar = (props: IProps) => {
|
||||
const { children } = props;
|
||||
const { statusNavbarHeightInfo } = useGlobalState();
|
||||
const { statusBarHeight, navbarHeight } = statusNavbarHeightInfo;
|
||||
const { statusBarHeight, navBarHeight } = statusNavbarHeightInfo;
|
||||
|
||||
return (
|
||||
<View
|
||||
className={styles.customerNavbar}
|
||||
style={{ height: `${navbarHeight}px`, paddingTop: `${statusBarHeight}px`, }}
|
||||
style={{ height: `${navBarHeight}px`, paddingTop: `${statusBarHeight}px`, }}
|
||||
>
|
||||
{children}
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user