mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
webui: add space between action buttons's icon and text
Reviewed-By: Endi Sukma Dewata <edewata@redhat.com>
This commit is contained in:
parent
c7af245809
commit
ec9539d0fd
@ -260,6 +260,7 @@ div[name=settings].facet-group li a {
|
||||
.action-button-disabled:hover {
|
||||
color: gray;
|
||||
cursor: default;
|
||||
text-decoration: none;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
|
@ -3979,14 +3979,17 @@ IPA.button = function(spec) {
|
||||
|
||||
if (spec.type) button.addClass(spec.type);
|
||||
|
||||
var label = text.get(spec.label);
|
||||
|
||||
if (spec.icon) {
|
||||
$('<i/>', {
|
||||
'class': 'fa '+spec.icon
|
||||
}).appendTo(button);
|
||||
if (label) label = " " + label ;
|
||||
}
|
||||
|
||||
if (spec.label) {
|
||||
button.append(text.get(spec.label));
|
||||
if (label) {
|
||||
button.append(label);
|
||||
}
|
||||
|
||||
return button;
|
||||
|
Loading…
Reference in New Issue
Block a user