This repository was archived by the owner on Nov 8, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +14
-7
lines changed Expand file tree Collapse file tree 5 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ export const Wrapper = styled.div`
1212`
1313export const InnerWrapper = styled . div `
1414 ${ cs . flex ( 'justify-between' ) } ;
15+ align-items: center;
1516 width: 100%;
1617 max-width: ${ cs . MAX_CONTENT_WIDTH } ;
1718 padding: 0 5vw;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import styled from 'styled-components'
33import { theme , cs } from '@utils'
44
55export const Wrapper = styled . article `
6- ${ cs . flex ( 'justify-center' ) } ;
6+ ${ cs . flexGrow ( 'justify-center' ) } ;
77 padding: 20px;
88 min-height: 300px;
99 ${ cs . media . tablet `
@@ -20,6 +20,7 @@ export const InnerWrapper = styled.div`
2020 ` } ;
2121`
2222export const MainWrapper = styled . div `
23+ flex-grow: 1;
2324 ${ cs . media . tablet `
2425 width: 100%;
2526 ` } ;
@@ -34,7 +35,7 @@ export const ArticleWrapper = styled.div`
3435 background: ${ theme ( 'preview.articleBg' ) } ;
3536 border-radius: 5px;
3637 padding: 35px 40px;
37- min-height: 60vh ;
38+ min-height: 200px ;
3839 box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
3940
4041 ${ cs . media . tablet `
@@ -60,7 +61,7 @@ export const MobileWrapper = styled.div`
6061 ${ cs . flexColumn ( 'align-center' ) } ;
6162 display: none;
6263 ${ cs . media . tablet `
63- ${ cs . flex ( ) } ;
64+ ${ cs . flex ( ) } ;
6465 ` } ;
6566`
6667export const MobileContentCard = styled . div `
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import styled from 'styled-components'
33import { theme , cs } from '@utils'
44
55export const Wrapper = styled . article `
6- ${ cs . flex ( 'justify-center' ) } ;
6+ ${ cs . flexGrow ( 'justify-center' ) } ;
77 padding-top: 20px;
88 min-height: 300px;
99
@@ -21,6 +21,8 @@ export const InnerWrapper = styled.div`
2121 ` } ;
2222`
2323export const MainWrapper = styled . div `
24+ flex-grow: 1;
25+
2426 ${ cs . media . tablet `
2527 width: 100%;
2628 ` } ;
@@ -36,6 +38,7 @@ export const ArticleWrapper = styled.div`
3638 border-radius: 5px;
3739 padding: 35px 40px;
3840 box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
41+ min-height: 200px;
3942 ${ cs . media . mobile `
4043 padding: 30px 20px;
4144 min-height: 20vh;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import styled from 'styled-components'
33import { theme , cs } from '@utils'
44
55export const Wrapper = styled . article `
6- ${ cs . flex ( 'justify-center' ) } ;
6+ ${ cs . flexGrow ( 'justify-center' ) } ;
77 padding: 20px;
88 min-height: 300px;
99 ${ cs . media . tablet `
@@ -20,6 +20,7 @@ export const InnerWrapper = styled.div`
2020 ` } ;
2121`
2222export const MainWrapper = styled . div `
23+ flex-grow: 1;
2324 ${ cs . media . tablet `
2425 width: 100%;
2526 ` } ;
@@ -34,7 +35,7 @@ export const ArticleWrapper = styled.div`
3435 background: ${ theme ( 'preview.articleBg' ) } ;
3536 border-radius: 5px;
3637 padding: 35px 40px;
37- min-height: 60vh ;
38+ min-height: 200px ;
3839 box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
3940 ${ cs . media . tablet `
4041 padding: 30px 20px;
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import styled from 'styled-components'
33import { theme , cs } from '@utils'
44
55export const Wrapper = styled . article `
6- ${ cs . flex ( 'justify-center' ) } ;
6+ ${ cs . flexGrow ( 'justify-center' ) } ;
77 padding: 20px;
88 min-height: 300px;
99 ${ cs . media . tablet `
@@ -20,6 +20,7 @@ export const InnerWrapper = styled.div`
2020 ` } ;
2121`
2222export const MainWrapper = styled . div `
23+ flex-grow: 1;
2324 ${ cs . media . tablet `
2425 width: 100%;
2526 ` } ;
You can’t perform that action at this time.
0 commit comments