Skip to content

Commit

Permalink
Merge pull request #3250 from tintin1343/toolbar-title
Browse files Browse the repository at this point in the history
[Toolbar] fix toolbar-title overflow
  • Loading branch information
oliviertassinari committed Feb 11, 2016
2 parents 722f9d7 + d75a674 commit f0f4875
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/toolbar/toolbar-title.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ function getStyles(props, state) {
fontSize: toolbar.titleFontSize,
display: 'inline-block',
position: 'relative',
textOverflow: 'ellipsis',
whiteSpace: 'nowrap',
overflow: 'hidden',
width: (props.text.length > 40) ? '200' : 'inherit',
},
};
}
Expand Down

0 comments on commit f0f4875

Please sign in to comment.