Tweak dropdown caret margins

This commit is contained in:
Toby Zerner 2015-08-05 19:21:00 +09:30
parent d8a6c9be32
commit 15019fc0ab
2 changed files with 2 additions and 1 deletions

View File

@ -90,7 +90,7 @@ export default class Dropdown extends Component {
getButtonContent() {
return [
this.props.icon ? icon(this.props.icon, {className: 'Button-icon'}) : '',
<span className="Button-label">{this.props.label}</span>, ' ',
<span className="Button-label">{this.props.label}</span>,
this.props.caretIcon ? icon(this.props.caretIcon, {className: 'Button-caret'}) : ''
];
}

View File

@ -116,6 +116,7 @@
}
.Dropdown-toggle .Button-caret {
display: inline;
margin: 0;
}
&.itemCount1 {