avoid re-layout from header bar when login loads in

This commit is contained in:
Emi Matchu 2020-09-06 18:54:27 -07:00
parent 0a6a9121f0
commit 9d6ec247cf

View file

@ -18,6 +18,8 @@ function PageLayout({ children, hideHomeLink }) {
alignItems="center" alignItems="center"
flexWrap="wrap" flexWrap="wrap"
marginBottom="6" marginBottom="6"
// Leave space while content is still loading
minHeight="2rem"
> >
{!hideHomeLink && <HomeLink />} {!hideHomeLink && <HomeLink />}
<UserLoginLogout marginLeft="auto" /> <UserLoginLogout marginLeft="auto" />