mirror of
https://github.com/flarum/framework.git
synced 2025-05-23 23:29:57 +08:00
Tweak dropdown caret margins
This commit is contained in:
@ -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 {
|
||||||
|
Reference in New Issue
Block a user