From 4707f410ae44b55e17e1758693dd21cff03b7ef1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 20 Dec 2018 11:18:29 +0100 Subject: [PATCH] Fix notification with large message --- .../video-abuse-list.component.html | 4 +-- .../video-blacklist-list.component.html | 2 +- client/src/app/app.component.html | 16 ++++++----- client/src/sass/primeng-custom.scss | 27 ++++++++++--------- 4 files changed, 26 insertions(+), 23 deletions(-) diff --git a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html index 0374b70ef..e862d5162 100644 --- a/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html +++ b/client/src/app/+admin/moderation/video-abuse-list/video-abuse-list.component.html @@ -41,7 +41,7 @@ - + @@ -62,4 +62,4 @@ - \ No newline at end of file + diff --git a/client/src/app/+admin/moderation/video-blacklist-list/video-blacklist-list.component.html b/client/src/app/+admin/moderation/video-blacklist-list/video-blacklist-list.component.html index ff4543b97..7cef787d2 100644 --- a/client/src/app/+admin/moderation/video-blacklist-list/video-blacklist-list.component.html +++ b/client/src/app/+admin/moderation/video-blacklist-list/video-blacklist-list.component.html @@ -30,7 +30,7 @@ {{ videoBlacklist.createdAt }} - + diff --git a/client/src/app/app.component.html b/client/src/app/app.component.html index 0489c9558..3a60139e1 100644 --- a/client/src/app/app.component.html +++ b/client/src/app/app.component.html @@ -40,13 +40,15 @@ -
-

{{ message.summary }}

-

{{ message.detail }}

-
+
+
+

{{ message.summary }}

+

{{ message.detail }}

+
- - - + + + +
diff --git a/client/src/sass/primeng-custom.scss b/client/src/sass/primeng-custom.scss index 21452fa16..8b3e0b813 100644 --- a/client/src/sass/primeng-custom.scss +++ b/client/src/sass/primeng-custom.scss @@ -324,23 +324,24 @@ p-toast { background-color: #03A9F4 !important; } - .message { - float: left; + .notification-block { + display: flex; - h3 { - font-size: 21px; - } + .message { + h3 { + font-size: 21px; + } - p { - font-size: 15px; + p { + font-size: 15px; + } } - } - .glyphicon { - float: right; - font-size: 32px; - margin-top: 15px; - margin-right: 5px; + .glyphicon { + font-size: 32px; + margin-top: 15px; + margin-right: 5px; + } } } } -- 2.25.1