fix: fullscreen

This commit is contained in:
TrèsAbhi committed 2024-09-01 17:05:40 -05:00
1 parent 4e66f57150
commit eac15cc15d
1 file changed
+2 -2
@@ -64,8 +64,8 @@ export function HeroSection({ id }: HeroSectionProps) {
height={ height={
isFullScreen ? '100vh' : `calc(100vh - ${NAVBAR_HEIGHT}px - 8rem)` isFullScreen ? '100vh' : `calc(100vh - ${NAVBAR_HEIGHT}px - 8rem)`
} }
maxHeight="40rem" maxHeight={isFullScreen ? undefined : '40rem'}
maxWidth="120rem" maxWidth={isFullScreen ? undefined : '120rem'}
flexGrow="1" flexGrow="1"
width={isFullScreen ? '100vw' : undefined} width={isFullScreen ? '100vw' : undefined}
position={isFullScreen ? 'fixed' : 'relative'} position={isFullScreen ? 'fixed' : 'relative'}