On a production build the root element container is not removed, on a development build it works perfectly.
I am trying to find out why, maybe someone has an idea?
gatsby develop works
gatsby build && gatsby serve does show the password screen, after providing the password the root element stays.
So there is a container with height: 100vh; background: #424242; display: flex; flex-direction: column; justify-content: center; align-items: center;
Originally submitted on GitLab by
Arn van der Pluijm @avdp
.URL to the complete discussion - https://gitlab.com/mkit/open-source/gatsby-theme-password-protect/-/issues/2