mirror of
https://github.com/flarum/core.git
synced 2025-01-17 22:29:15 +01:00
Remove fa-fw class from all icons
Often it is desirable to NOT have this class applied, and it is easier to apply its styles if needed rather than un-apply it.
This commit is contained in:
parent
4f3e67714e
commit
afc597c189
@ -6,7 +6,7 @@
|
||||
* @return {Object}
|
||||
*/
|
||||
export default function icon(name, attrs = {}) {
|
||||
attrs.className = 'icon fa fa-fw fa-' + name + ' ' + (attrs.className || '');
|
||||
attrs.className = 'icon fa fa-' + name + ' ' + (attrs.className || '');
|
||||
|
||||
return <i {...attrs}/>;
|
||||
}
|
||||
|
@ -61,6 +61,7 @@
|
||||
}
|
||||
.icon {
|
||||
font-size: 14px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -31,6 +31,7 @@
|
||||
.icon {
|
||||
font-size: 14px;
|
||||
margin-right: 2px;
|
||||
.fa-fw();
|
||||
}
|
||||
}
|
||||
.NotificationGrid-checkbox {
|
||||
|
@ -224,14 +224,14 @@
|
||||
}
|
||||
}
|
||||
.Button-icon {
|
||||
margin-right: 3px;
|
||||
margin-right: 7px;
|
||||
}
|
||||
.Button-icon,
|
||||
.Button-caret {
|
||||
font-size: 14px;
|
||||
}
|
||||
.Button-caret {
|
||||
margin-left: 3px;
|
||||
margin-left: 7px;
|
||||
}
|
||||
.Button-badge {
|
||||
font-size: 12px;
|
||||
|
@ -49,6 +49,7 @@
|
||||
float: left;
|
||||
margin-left: -25px;
|
||||
margin-top: 2px;
|
||||
.fa-fw();
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
|
@ -16,4 +16,5 @@
|
||||
margin-left: -30px;
|
||||
pointer-events: none;
|
||||
color: @control-color;
|
||||
.fa-fw();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user