quick header fix
This commit is contained in:
parent
fa47ea7843
commit
b0b725ff2c
|
@ -13,11 +13,9 @@ type MainLayoutProps = {
|
||||||
}
|
}
|
||||||
|
|
||||||
export const MainLayout = (props: MainLayoutProps) => {
|
export const MainLayout = (props: MainLayoutProps) => {
|
||||||
const isHeaderFixed = props.isHeaderFixed !== undefined ? props.isHeaderFixed : true
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Header title={props.headerTitle} isHeaderFixed={isHeaderFixed} />
|
<Header title={props.headerTitle} isHeaderFixed={props.isHeaderFixed === true} />
|
||||||
<main class="main-content">{props.children}</main>
|
<main class="main-content">{props.children}</main>
|
||||||
<Show when={props.hideFooter !== true}>
|
<Show when={props.hideFooter !== true}>
|
||||||
<Footer />
|
<Footer />
|
||||||
|
|
|
@ -1,7 +1,3 @@
|
||||||
header {
|
|
||||||
position: absolute;
|
|
||||||
}
|
|
||||||
|
|
||||||
.main-logo {
|
.main-logo {
|
||||||
height: 80px !important;
|
height: 80px !important;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user