From 3ba8c5727679d5f1006fb8051da121830402c5c3 Mon Sep 17 00:00:00 2001 From: Aleksandar Djordjevic Date: Tue, 27 Oct 2020 16:49:13 +0100 Subject: [PATCH] DDW-418 - Align vertically the "News feed empty" message - container fixes --- source/renderer/app/components/news/NewsFeed.scss | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/source/renderer/app/components/news/NewsFeed.scss b/source/renderer/app/components/news/NewsFeed.scss index 588e3e09c1..090bb95b78 100644 --- a/source/renderer/app/components/news/NewsFeed.scss +++ b/source/renderer/app/components/news/NewsFeed.scss @@ -95,15 +95,14 @@ overflow: hidden; padding: 20px; - &.emptyFeedContainer { - height: 100%; - - &.hasUpdate { - .newsFeedEmptyContainer { - height: calc(100% - 100px) !important; - } + &.hasUpdate.emptyFeedContainer { + .newsFeedEmptyContainer { + height: calc(100% - 100px) !important; } + } + &.emptyFeedContainer { + height: 100%; .newsFeedEmptyContainer { height: 100%; }