mirror of
https://github.com/flarum/framework.git
synced 2025-01-06 02:23:36 +08:00
Tweak dropdown caret margins
This commit is contained in:
parent
d8a6c9be32
commit
15019fc0ab
|
@ -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'}) : ''
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -116,6 +116,7 @@
|
||||||
}
|
}
|
||||||
.Dropdown-toggle .Button-caret {
|
.Dropdown-toggle .Button-caret {
|
||||||
display: inline;
|
display: inline;
|
||||||
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.itemCount1 {
|
&.itemCount1 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user