mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +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={
|
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'}
|
||||||
|
|||||||
Reference in new issue
Block a user