fix single tab title (#2289)

* fix single tab title

* fix single tab margin/padding
This commit is contained in:
Nelson Henrique 2017-10-02 12:49:05 -03:00 committed by Timothy
parent 9e7bd76ef9
commit 8eb4541eea

View file

@ -75,7 +75,7 @@ export default class Tabs extends Component {
position: 'relative',
WebkitUserSelect: 'none',
WebkitAppRegion: isMac ? 'drag' : '',
top: isMac ? '' : '34px'
top: isMac ? '0px' : '34px'
},
hiddenNav: {
@ -84,7 +84,12 @@ export default class Tabs extends Component {
title: {
textAlign: 'center',
color: '#fff'
color: '#fff',
overflow: 'hidden',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
paddingLeft: 76,
paddingRight: 76
},
list: {