fix tab text alignment issue (#1543)

This commit is contained in:
Henrik 2017-02-17 20:48:56 +01:00 committed by Guillermo Rauch
parent fe6e2977bd
commit 368a426b01

View file

@ -142,14 +142,13 @@ export default class Tab extends Component {
textInner: { textInner: {
position: 'absolute', position: 'absolute',
left: 0, left: '24px',
right: 0, right: '24px',
top: 0, top: 0,
bottom: 0, bottom: 0,
textAlign: 'center', textAlign: 'center',
textOverflow: 'ellipsis', textOverflow: 'ellipsis',
whiteSpace: 'nowrap', whiteSpace: 'nowrap',
padding: '0 25px',
overflow: 'hidden' overflow: 'hidden'
}, },