mirror of
https://github.com/flarum/framework.git
synced 2024-12-13 07:03:35 +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() {
|
||||
return [
|
||||
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'}) : ''
|
||||
];
|
||||
}
|
||||
|
|
|
@ -116,6 +116,7 @@
|
|||
}
|
||||
.Dropdown-toggle .Button-caret {
|
||||
display: inline;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&.itemCount1 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user