Skip to content
This repository was archived by the owner on Nov 8, 2022. It is now read-only.

Commit eb668c4

Browse files
committed
refactor(media-query): make footer to center
1 parent 77f379f commit eb668c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

containers/Footer/BriefView.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from 'react'
22

33
import { ISSUE_ADDR, API_SERVER_ADDR } from 'config'
44
import BottomInfo from './BottomInfo'
5+
import MobilBottomInfo from './MobilBottomInfo'
56

67
import {
78
Wrapper,
@@ -69,6 +70,7 @@ const BriefView = () => (
6970
</BaseInfo>
7071
</MainInfos>
7172
<BottomInfo />
73+
<MobilBottomInfo />
7274
</Wrapper>
7375
)
7476

containers/Footer/styles/mobile_bottom_info.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@ import styled from 'styled-components'
33
import { theme, cs } from 'utils'
44

55
export const MainInfoWrapper = styled.div`
6-
${cs.flex('align-center')};
6+
${cs.flex('align-both')};
77
height: 50px;
8-
padding-left: 6%;
9-
padding-right: 6%;
108
display: none;
119
${cs.media.mobile`display: flex;`};
1210
`

0 commit comments

Comments
 (0)