1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 21:06:42 +07:00

#35 added containers everywhere

This commit is contained in:
Fedor Katurov 2021-03-06 12:18:23 +07:00
parent 4f6476666f
commit 428c7e7a06
7 changed files with 200 additions and 158 deletions

View file

@ -0,0 +1,13 @@
import React, { FC } from 'react';
import styles from './styles.module.scss';
import classNames from 'classnames';
interface IProps {
className?: string;
}
const Container: FC<IProps> = ({ className, children }) => (
<div className={classNames(styles.container, className)}>{children}</div>
);
export { Container };

View file

@ -0,0 +1,7 @@
@import "~/styles/variables.scss";
.container {
width: 100%;
max-width: $content_width;
margin: auto;
}

View file

@ -19,7 +19,6 @@
flex: 1;
position: relative;
width: 100%;
max-width: $content_width;
display: flex;
padding-bottom: 29px;
flex-direction: column;