URL: https://github.com/freeipa/freeipa/pull/3904
Author: serg-cymbaluk
 Title: #3904: WebUI: Fix notification area layout
Action: opened

PR body:
"""
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
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3904/head:pr3904
git checkout pr3904
From a329a7d455c4e4c2545f2a7115c5ac6cbdd58256 Mon Sep 17 00:00:00 2001
From: Serhii Tsymbaliuk <stsym...@redhat.com>
Date: Fri, 15 Nov 2019 10:56:24 +0100
Subject: [PATCH 1/2] 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 <stsym...@redhat.com>
---
 install/ui/ipa.css          | 5 +++--
 install/ui/less/alerts.less | 4 ++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/install/ui/ipa.css b/install/ui/ipa.css
index 2921f4360a..f5ff705ee6 100644
--- a/install/ui/ipa.css
+++ b/install/ui/ipa.css
@@ -44,15 +44,16 @@ 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;
 }
 
 /* ---- Facet ---- */
diff --git a/install/ui/less/alerts.less b/install/ui/less/alerts.less
index a323f891a0..6e0a64a048 100644
--- a/install/ui/less/alerts.less
+++ b/install/ui/less/alerts.less
@@ -8,8 +8,8 @@
     > .fa, > .fa-layered {
         font-size: 20px;
         position: absolute;
-        left: 7px;
-        top: 7px;
+        left: 11px;
+        top: 11px;
     }
     .fa-info {
         color: #72767b;

From 5860cba4c03ff9c749d0763190f96afa8327299e Mon Sep 17 00:00:00 2001
From: Serhii Tsymbaliuk <stsym...@redhat.com>
Date: Fri, 15 Nov 2019 11:11:47 +0100
Subject: [PATCH 2/2] Temp commit

---
 .freeipa-pr-ci.yaml                        | 2 +-
 ipatests/prci_definitions/temp_commit.yaml | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.freeipa-pr-ci.yaml b/.freeipa-pr-ci.yaml
index abcf8c5b63..8065669008 120000
--- a/.freeipa-pr-ci.yaml
+++ b/.freeipa-pr-ci.yaml
@@ -1 +1 @@
-ipatests/prci_definitions/gating.yaml
\ No newline at end of file
+ipatests/prci_definitions/temp_commit.yaml
\ No newline at end of file
diff --git a/ipatests/prci_definitions/temp_commit.yaml b/ipatests/prci_definitions/temp_commit.yaml
index c7168a2cc9..66fc3bb600 100644
--- a/ipatests/prci_definitions/temp_commit.yaml
+++ b/ipatests/prci_definitions/temp_commit.yaml
@@ -57,14 +57,14 @@ jobs:
         timeout: 1800
         topology: *build
 
-  fedora-latest/temp_commit:
+  fedora-latest/test_webui_host:
     requires: [fedora-latest/build]
     priority: 50
     job:
-      class: RunPytest
+      class: RunWebuiTests
       args:
         build_url: '{fedora-latest/build_url}'
-        test_suite: test_integration/test_REPLACEME.py
+        test_suite: test_webui/test_host.py
         template: *ci-master-latest
         timeout: 3600
-        topology: *master_1repl_1client
+        topology: *ipaserver
_______________________________________________
FreeIPA-devel mailing list -- freeipa-devel@lists.fedorahosted.org
To unsubscribe send an email to freeipa-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/freeipa-devel@lists.fedorahosted.org

Reply via email to