From 15019fc0ab3b7719553e3b63642da87b47864afa 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 --- framework/core/js/lib/components/Dropdown.js | 2 +- framework/core/less/lib/Dropdown.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/core/js/lib/components/Dropdown.js b/framework/core/js/lib/components/Dropdown.js index c17d96745..027e91e82 100644 --- a/framework/core/js/lib/components/Dropdown.js +++ b/framework/core/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/framework/core/less/lib/Dropdown.less b/framework/core/less/lib/Dropdown.less index b5a7c9b3e..3c093ede0 100755 --- a/framework/core/less/lib/Dropdown.less +++ b/framework/core/less/lib/Dropdown.less @@ -116,6 +116,7 @@ } .Dropdown-toggle .Button-caret { display: inline; + margin: 0; } &.itemCount1 {