Skip to content

Commit

Permalink
Merge pull request #4211 from randychilau/flash-fix
Browse files Browse the repository at this point in the history
Fix for occasional flash of white in the background upon page load
  • Loading branch information
Nikhil-Ladha committed May 25, 2023
2 parents 3c52e8e + 67af093 commit 76561a8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/sections/app.style.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@ const GlobalStyle = createGlobalStyle`
outline: none;
}
#___gatsby {
background: ${(props) => props.theme.body};
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
html{
box-sizing: border-box;
-ms-overflow-style: scrollbar;
Expand Down

0 comments on commit 76561a8

Please sign in to comment.