From 0d968536bc593d42e478303a2a5607c4181c16b6 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Wed, 5 Aug 2015 19:21:00 +0930 Subject: [PATCH] Tweak dropdown caret margins --- js/lib/components/Dropdown.js | 2 +- less/lib/Dropdown.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/js/lib/components/Dropdown.js b/js/lib/components/Dropdown.js index c17d96745..027e91e82 100644 --- a/js/lib/components/Dropdown.js +++ b/js/lib/components/Dropdown.js @@ -90,7 +90,7 @@ export default class Dropdown extends Component { getButtonContent() { return [ this.props.icon ? icon(this.props.icon, {className: 'Button-icon'}) : '', - {this.props.label}, ' ', + {this.props.label}, this.props.caretIcon ? icon(this.props.caretIcon, {className: 'Button-caret'}) : '' ]; } diff --git a/less/lib/Dropdown.less b/less/lib/Dropdown.less index b5a7c9b3e..3c093ede0 100755 --- a/less/lib/Dropdown.less +++ b/less/lib/Dropdown.less @@ -116,6 +116,7 @@ } .Dropdown-toggle .Button-caret { display: inline; + margin: 0; } &.itemCount1 {