quick header fix

This commit is contained in:
Igor Lobanov 2022-09-29 13:42:26 +02:00
parent fa47ea7843
commit b0b725ff2c
2 changed files with 1 additions and 7 deletions

View File

@ -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 />

View File

@ -1,7 +1,3 @@
header {
position: absolute;
}
.main-logo { .main-logo {
height: 80px !important; height: 80px !important;
} }