WebUI: Fix notification area layout

The fix prevents blocking elements in the right side near notification area.
Notification area now has fixed width and it isn't offset.
Also notification icon is aligned to notification text.

Ticket: https://pagure.io/freeipa/issue/8120

Signed-off-by: Serhii Tsymbaliuk <stsymbal@redhat.com>
Reviewed-By: Armando Neto <abiagion@redhat.com>
This commit is contained in:
Serhii Tsymbaliuk committed 2019-11-21 16:44:11 +01:00
1 parent ae256fa524
commit 7f6b1c99f0
2 files changed
+6 -4

No files matched your search

+4 -2
View File
@@ -44,15 +44,17 @@ textarea[readonly] {
.notification-area {
position: fixed;
left: 50%;
right: 50%;
top: 15px;
}
.notification-area div {
position: relative;
left: -50%;
margin-left: -200px;
margin-right: -200px;
z-index: 20;
word-wrap: break-word;
max-width: 500px;
max-width: 400px;
}
/* ---- Facet ---- */
+2 -2
View File
@@ -8,8 +8,8 @@
> .fa, > .fa-layered {
font-size: 20px;
position: absolute;
left: 7px;
top: 7px;
left: 11px;
top: 11px;
}
.fa-info {
color: #72767b;