Commit 69c084eb authored by Vignesh Mohankumar's avatar Vignesh Mohankumar Committed by GitHub

fix: full bleed about banner (#5650)

* fix: full bleed about banner

* add px
parent e5ac7e77
...@@ -27,7 +27,7 @@ const PageBackground = styled.div<{ isDarkMode: boolean }>` ...@@ -27,7 +27,7 @@ const PageBackground = styled.div<{ isDarkMode: boolean }>`
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 100vh; height: 100vh;
top: 0; top: -${({ theme }) => theme.navHeight}px;
left: 0; left: 0;
opacity: ${({ isDarkMode }) => (isDarkMode ? 0.4 : 0.2)}; opacity: ${({ isDarkMode }) => (isDarkMode ? 0.4 : 0.2)};
background: ${({ isDarkMode }) => (isDarkMode ? `url(${backgroundImgSrcDark})` : `url(${backgroundImgSrcLight})`)}; background: ${({ isDarkMode }) => (isDarkMode ? `url(${backgroundImgSrcDark})` : `url(${backgroundImgSrcLight})`)};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment