Reduce prop scope

This commit is contained in:
Manav Rathi 2024-05-25 06:02:47 +05:30
parent e23bc2602f
commit 92a2506f8a
No known key found for this signature in database

View file

@ -115,7 +115,9 @@ export default function LandingPage() {
) : ( ) : (
<> <>
<SlideContainer> <SlideContainer>
<EnteLogo height={24} sx={{ mb: 8 }} /> <Logo_>
<EnteLogo height={24} />
</Logo_>
<Slideshow /> <Slideshow />
</SlideContainer> </SlideContainer>
<MobileBox> <MobileBox>
@ -174,6 +176,10 @@ const SlideContainer = styled("div")`
} }
`; `;
const Logo_ = styled("div")`
margin-block-end: 64px;
`
const DesktopBox = styled("div")` const DesktopBox = styled("div")`
flex: 1; flex: 1;
height: 100%; height: 100%;