fix lol
This commit is contained in:
parent
10a3536aed
commit
592cc4223b
@ -97,12 +97,13 @@ const IndexPage = ({
|
|||||||
>
|
>
|
||||||
<GatsbyImage
|
<GatsbyImage
|
||||||
alt=""
|
alt=""
|
||||||
className={screenHeight ? `${screenHeight - 160}px`: 'h-[calc(100vh-160px)]'}
|
|
||||||
image={img!}
|
image={img!}
|
||||||
loading="eager"
|
loading="eager"
|
||||||
objectFit={browserIsLandscape ? "cover" : "contain"}
|
objectFit={browserIsLandscape ? "cover" : "contain"}
|
||||||
style={{
|
style={{
|
||||||
height: "calc(100vh-160px)",
|
height: screenHeight
|
||||||
|
? `${screenHeight - 160}px`
|
||||||
|
: "calc(100vh-160px)",
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</Link>
|
</Link>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user