fix: full bleed about banner (#5650)

* fix: full bleed about banner

* add px
This commit is contained in:
Vignesh Mohankumar 2022-12-12 11:12:59 -05:00 committed by GitHub
parent e5ac7e77da
commit 69c084ebe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,7 +27,7 @@ const PageBackground = styled.div<{ isDarkMode: boolean }>`
position: absolute;
width: 100%;
height: 100vh;
top: 0;
top: -${({ theme }) => theme.navHeight}px;
left: 0;
opacity: ${({ isDarkMode }) => (isDarkMode ? 0.4 : 0.2)};
background: ${({ isDarkMode }) => (isDarkMode ? `url(${backgroundImgSrcDark})` : `url(${backgroundImgSrcLight})`)};