Skip to content
Snippets Groups Projects
Commit dbfbef27 authored by Guilherme Gazzo's avatar Guilherme Gazzo
Browse files

Revert "Fix vertical bar"

This reverts commit b75312a1.
parent b75312a1
No related branches found
No related tags found
No related merge requests found
......@@ -28,11 +28,11 @@ export const Room = ({ children, ...props }) => {
const footer = c.filter((child) => child.type === Footer);
const aside = c.filter((child) => child.type === Aside);
return <Box is='main' h='full' display='flex' flexDirection='column' overflow='hidden' {...props}>
return <Box is='main' h='full' display='flex' flexDirection='column' {...props}>
{ header.length > 0 && <Box is='header'>{header}</Box> }
<Box display='flex' flexGrow='1' overflow='hidden' flexShrink={1} overflow='hidden'>
<Box display='flex' flexDirection='column' flexShrink={1} flexGrow='1' overflow='hidden'>
<Box is='div' display='flex' flexDirection='column' flexShrink={1} flexGrow='1' overflow='hidden'>{body}</Box>
<Box display='flex' flexGrow='1'>
<Box display='flex' flexDirection='column' flexGrow='1'>
<Box is='div' display='flex' flexDirection='column' flexGrow='1'>{body}</Box>
{ footer.length > 0 && <Box is='footer'>{footer}</Box> }
</Box>
{ aside.length > 0 && <Box is='aside'>{aside}</Box>}
......@@ -58,7 +58,7 @@ const BlazeTemplate = ({ name, children, ...props }) => {
Blaze.remove(view);
};
}, [props, name]);
return <Box display='flex' flexDirection='column' flexGrow={1} flexShrink={1} overflow='hidden' ref={ref}/>;
return <Box display='flex' flexDirection='column' flexGrow={1} ref={ref}/>;
};
export default (props) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment