Skip to content

Commit ffb787b

Browse files
authored
fix: update min-height calculations for NotFound and Hero components (#70)
1 parent fa2857d commit ffb787b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/not-found.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { Button } from "@/components/ui/button"
66

77
export default function NotFound() {
88
return (
9-
<main className="relative isolate flex min-h-[calc(100dvh-var(--header-height))] w-full items-center justify-center overflow-hidden">
9+
<main className="relative isolate flex min-h-screen w-full items-center justify-center overflow-hidden">
1010
<section className="relative flex h-full w-full items-center justify-center">
1111
<div className="pointer-events-none absolute inset-0 flex items-center justify-center">
1212
<Image src={notFoundBackground} alt="" aria-hidden priority className="h-auto w-full max-w-4xl select-none" />

src/components/home/hero.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Input } from "@/components/ui/input"
55
export function Hero() {
66
return (
77
<main className="flex w-full justify-center px-4 sm:px-6">
8-
<section className="flex min-h-[calc(100vh-var(--header-height))] w-full flex-col justify-between py-8 sm:py-12">
8+
<section className="flex min-h-screen w-full flex-col justify-between py-8 sm:py-12">
99
<div className="flex flex-1 flex-col items-center justify-center gap-10 text-center md:gap-16">
1010
<h1 className="typo-display-medium lg:typo-display-large max-w-5xl text-text-primary">
1111
Trova gruppi, risorse e supporto

0 commit comments

Comments
 (0)