diff --git a/client/src/ui.js b/client/src/ui.js
index 60fdbe5d8a..d1a3f313c8 100644
--- a/client/src/ui.js
+++ b/client/src/ui.js
@@ -1121,7 +1121,7 @@ Espo.Ui = {
.attr('data-dismiss', 'modal')
.attr('aria-hidden', 'true')
.addClass('close')
- .html('×');
+ .html(``);
$el.append(
$('
')
diff --git a/frontend/less/espo/elements/alert.less b/frontend/less/espo/elements/alert.less
index cda28156ac..42b6628339 100644
--- a/frontend/less/espo/elements/alert.less
+++ b/frontend/less/espo/elements/alert.less
@@ -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);
+ }
}
}
}