mirror of
https://github.com/flarum/framework.git
synced 2024-11-27 19:13:37 +08:00
Appearance tweaks
This commit is contained in:
parent
e698e2220b
commit
52c9539be3
|
@ -47,7 +47,7 @@ export default class Button extends Component {
|
||||||
const iconName = this.props.icon;
|
const iconName = this.props.icon;
|
||||||
|
|
||||||
return [
|
return [
|
||||||
iconName ? icon(iconName, {className: 'Button-icon'}) : '',
|
iconName ? icon(iconName, {className: 'Button-icon'}) : '', ' ',
|
||||||
this.props.children ? <span className="Button-label">{this.props.children}</span> : ''
|
this.props.children ? <span className="Button-label">{this.props.children}</span> : ''
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.ButtonGroup:not(.itemCount1) {
|
.ButtonGroup:not(.itemCount1) {
|
||||||
.SplitDropdown-button {
|
.Button:first-child {
|
||||||
width: 77%;
|
width: 77%;
|
||||||
}
|
}
|
||||||
.Dropdown-toggle {
|
.Dropdown-toggle {
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
width: @size;
|
width: @size;
|
||||||
height: @size;
|
height: @size;
|
||||||
border-radius: @size / 2;
|
border-radius: @size / 2;
|
||||||
line-height: @size - 5px;
|
line-height: @size - 3px;
|
||||||
|
|
||||||
&, .Badge-icon {
|
&, .Badge-icon {
|
||||||
font-size: 0.56 * @size;
|
font-size: 0.56 * @size;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user