mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -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 {
|
.action-button-disabled:hover {
|
||||||
color: gray;
|
color: gray;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
text-decoration: none;
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3979,14 +3979,17 @@ IPA.button = function(spec) {
|
|||||||
|
|
||||||
if (spec.type) button.addClass(spec.type);
|
if (spec.type) button.addClass(spec.type);
|
||||||
|
|
||||||
|
var label = text.get(spec.label);
|
||||||
|
|
||||||
if (spec.icon) {
|
if (spec.icon) {
|
||||||
$('<i/>', {
|
$('<i/>', {
|
||||||
'class': 'fa '+spec.icon
|
'class': 'fa '+spec.icon
|
||||||
}).appendTo(button);
|
}).appendTo(button);
|
||||||
|
if (label) label = " " + label ;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (spec.label) {
|
if (label) {
|
||||||
button.append(text.get(spec.label));
|
button.append(label);
|
||||||
}
|
}
|
||||||
|
|
||||||
return button;
|
return button;
|
||||||
|
Loading…
Reference in New Issue
Block a user