Get server console page rendering (mostly) correctly

This commit is contained in:
Dane Everitt 2020-07-04 15:40:41 -07:00
parent 43ff67238c
commit 1e163aa792
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
18 changed files with 140 additions and 160 deletions

View file

@ -3,10 +3,10 @@ import ContentContainer from '@/components/elements/ContentContainer';
import { CSSTransition } from 'react-transition-group';
import tw from 'twin.macro';
const PageContentBlock: React.FC = ({ children }) => (
const PageContentBlock: React.FC<{ className?: string }> = ({ children, className }) => (
<CSSTransition timeout={250} classNames={'fade'} appear in>
<>
<ContentContainer css={tw`my-10`}>
<ContentContainer css={tw`my-10`} className={className}>
{children}
</ContentContainer>
<ContentContainer css={tw`mb-4`}>