close style fix

This commit is contained in:
Yuri Kuznetsov
2024-11-04 12:59:51 +02:00
parent 77df2ed4ce
commit ca14490e7b
2 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -1121,7 +1121,7 @@ Espo.Ui = {
.attr('data-dismiss', 'modal')
.attr('aria-hidden', 'true')
.addClass('close')
.html('×');
.html(`<span class="fas fa-times"></span>`);
$el.append(
$('<div>')
+10 -4
View File
@@ -24,22 +24,28 @@ body > .alert {
.close-container {
width: var(--16px);
height: var(--16px);
float: right;
height: var(--16px);
.close {
right: var(--minus-10px);
right: var(--minus-11px);
top: var(--minus-1px);
position: relative;
color: inherit;
text-shadow: none;
opacity: 1;
background: transparent;
padding: 0;
border: 0;
float: none;
&:hover {
opacity: 0.7;
}
> span {
line-height: var(--16px);
}
}
}
}