mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
fix: fullscreen
This commit is contained in:
1 parent
4e66f57150
commit
eac15cc15d
1 file changed
+2
-2
@@ -64,8 +64,8 @@ export function HeroSection({ id }: HeroSectionProps) {
|
||||
height={
|
||||
isFullScreen ? '100vh' : `calc(100vh - ${NAVBAR_HEIGHT}px - 8rem)`
|
||||
}
|
||||
maxHeight="40rem"
|
||||
maxWidth="120rem"
|
||||
maxHeight={isFullScreen ? undefined : '40rem'}
|
||||
maxWidth={isFullScreen ? undefined : '120rem'}
|
||||
flexGrow="1"
|
||||
width={isFullScreen ? '100vw' : undefined}
|
||||
position={isFullScreen ? 'fixed' : 'relative'}
|
||||
|
||||
Reference in new issue
Block a user