Add Task list on Tasks page
This commit is contained in:
@ -1,9 +1,10 @@
|
||||
import Navbar from './Navbar';
|
||||
import Navbar from './navbar/Navbar';
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
const StyledLayout = styled.div`
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
`;
|
||||
|
||||
type OwnProps = {
|
||||
|
||||
16
front/src/layout/containers/FullWidthContainer.tsx
Normal file
16
front/src/layout/containers/FullWidthContainer.tsx
Normal file
@ -0,0 +1,16 @@
|
||||
import styled from '@emotion/styled';
|
||||
|
||||
type OwnProps = {
|
||||
children: JSX.Element;
|
||||
};
|
||||
|
||||
const StyledContainer = styled.div`
|
||||
display: flex;
|
||||
height: calc(100vh - 60px);
|
||||
`;
|
||||
|
||||
function FullWidthContainer({ children }: OwnProps) {
|
||||
return <StyledContainer>{children}</StyledContainer>;
|
||||
}
|
||||
|
||||
export default FullWidthContainer;
|
||||
Reference in New Issue
Block a user