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() { getButtonContent() {
return [ return [
this.props.icon ? icon(this.props.icon, {className: 'Button-icon'}) : '', 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'}) : '' this.props.caretIcon ? icon(this.props.caretIcon, {className: 'Button-caret'}) : ''
]; ];
} }

View File

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