Skip to content

Commit dda1314

Browse files
committed
Adjust heroHeader size
1 parent b80ed08 commit dda1314

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

components/Organisms/Header/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export default function Header({ links }: { links: { label: string; href: string
7878
const iconStroke = 1.5;
7979

8080
return (
81-
<MantineHeader height={56} pb="md">
81+
<MantineHeader height="var(--header-height)" pb="md">
8282
<Container className={classes.inner}>
8383
<SideNav>{linkElements}</SideNav>
8484
<Group className={classes.links} spacing={5}>

styles/Home.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.heroHeader {
2-
min-height: 65vh;
2+
min-height: calc(100vh - var(--header-height) - var(--waves-section-spacer-height) + min(5vh, 30px));
33
margin: auto;
44
}

styles/globals.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ a {
4141
* =============================== */
4242

4343
:root {
44-
--btn-transition: .35s ease
44+
--header-height: 56px;
45+
--waves-section-spacer-height: 300px;
46+
--btn-transition: .35s ease;
4547
}
4648

4749

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy