From 368a426b0106e2a5ac3afab667e55a44ceaf6faf Mon Sep 17 00:00:00 2001 From: Henrik Date: Fri, 17 Feb 2017 20:48:56 +0100 Subject: [PATCH] fix tab text alignment issue (#1543) --- lib/components/tab.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/components/tab.js b/lib/components/tab.js index fa318c0e..e474a5c5 100644 --- a/lib/components/tab.js +++ b/lib/components/tab.js @@ -142,14 +142,13 @@ export default class Tab extends Component { textInner: { position: 'absolute', - left: 0, - right: 0, + left: '24px', + right: '24px', top: 0, bottom: 0, textAlign: 'center', textOverflow: 'ellipsis', whiteSpace: 'nowrap', - padding: '0 25px', overflow: 'hidden' },