App layout update

This commit is contained in:
tmshv committed 2020-02-23 05:50:15 +03:00
1 parent 471d8f4714
commit 6825751c08
1 file changed
+2 -2
+2 -2
View File
@@ -28,7 +28,7 @@ export const App: React.FC<IAppProps> = props => {
const router = useRouter() const router = useRouter()
const wide = props.wide ?? false const wide = props.wide ?? false
const blockStyle = { const blockStyle = {
alignItems: 'center' justifyContent: 'center'
} }
return ( return (
@@ -55,7 +55,7 @@ export const App: React.FC<IAppProps> = props => {
/> />
)} )}
> >
<Block direction={'vertical'} style={blockStyle}> <Block direction={'horizontal'} style={blockStyle}>
<Content wide={wide} style={props.contentStyle}> <Content wide={wide} style={props.contentStyle}>
{props.children} {props.children}
</Content> </Content>