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

Commit 8be8709

Browse files
committed
style: optimze the looks
1 parent 7bd66d4 commit 8be8709

File tree

5 files changed

+12
-5
lines changed

5 files changed

+12
-5
lines changed

components/Navigator/styles/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const Breadcrumbs = styled.div`
1111
`
1212
export const Logo = styled(Img)`
1313
height: 22px;
14-
margin-top: 1px;
14+
margin-top: -5px;
1515
width: 22px;
1616
opacity: 0.7;
1717
`

components/PostItem/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ const PostItem = ({
2828
accountInfo,
2929
}) => {
3030
// debug('customization --> ', customization)
31-
const { customization: { contentsLayout, contentDivider } } = accountInfo
31+
const {
32+
customization: { contentsLayout, contentDivider },
33+
} = accountInfo
3234

3335
/*
3436
debug('entry --> ', entry)

containers/MailBox/styles/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ export const HeaderMailIcon = styled(HeaderMailSVG)`
1313
height: 20px;
1414
cursor: pointer;
1515
margin-right: 12px;
16-
margin-top: -2px;
1716
`
1817
export const NofityDot = styled.div`
1918
position: absolute;

containers/UsersThread/GeoMap.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import { withTheme } from 'styled-components'
66
import fetchGeoData from './geo_data'
77

88
import { Margin } from '../../components'
9+
10+
import { MapWrapper } from './styles'
911
import { makeDebugger, uid, theme as themeHelper } from '../../utils'
1012

1113
/* eslint-disable no-unused-vars */
@@ -147,7 +149,7 @@ class LocationMap extends React.Component {
147149

148150
render() {
149151
return (
150-
<div>
152+
<MapWrapper>
151153
<ReactResizeDetector
152154
handleWidth
153155
refreshMode="debounce"
@@ -158,7 +160,7 @@ class LocationMap extends React.Component {
158160
/>
159161
<div id={this.chartId} />
160162
<Margin bottom="10px" />
161-
</div>
163+
</MapWrapper>
162164
)
163165
}
164166
}

containers/UsersThread/styles/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ import styled from 'styled-components'
55

66
export const Wrapper = styled.div``
77
export const Title = styled.div``
8+
9+
export const MapWrapper = styled.div`
10+
width: 100%;
11+
`

0 commit comments

Comments
 (0)