Move Globe up to top of container to fill space

This commit is contained in:
Usman Baig
2026-03-09 16:10:19 +01:00
parent 9629a5788c
commit 1a75b44c68

View File

@@ -111,7 +111,7 @@ export default function Globe({ data, className }: GlobeProps) {
return (
<div className={`relative w-full h-full overflow-hidden ${className ?? ''}`}>
<div className="absolute left-1/2 -translate-x-1/2 top-[15%] aspect-square w-[130%]">
<div className="absolute left-1/2 -translate-x-1/2 top-0 aspect-square w-[130%]">
<canvas
className="size-full opacity-0 transition-opacity duration-500"
style={{ contain: 'layout paint size' }}