Add content blocks styles

This commit is contained in:
Maria Rushkova 2021-11-18 13:05:48 +01:00
parent 99f6e5f595
commit 5a2b959d85
No known key found for this signature in database
GPG Key ID: B9B5728B991FF586
3 changed files with 19 additions and 13 deletions

View File

@ -0,0 +1,18 @@
import styled from 'styled-components'
import { Colors } from '../../constants'
export const PageContent = styled.div`
position: relative;
background-color: ${Colors.White};
margin: 24px auto;
max-width: 1000px;
`
export const MenuContent = styled.div`
width: 100%;
display: flex;
flex-direction: column;
align-items: flex-start;
position: relative;
padding: 24px 0;
`

View File

@ -1,12 +0,0 @@
import styled from 'styled-components'
import { Colors } from '../../constants'
export const PageContent = styled.div`
position: relative;
background-color: ${Colors.White};
margin: 30px auto 0 auto;
max-width: 480px;
border-radius: 12px;
box-shadow: ${Colors.Shadow};
padding: 12px 24px;
`

View File

@ -1,3 +1,3 @@
export * from './Page'
export * from './PageContent'
export * from './Content'
export * from './Title'