From 2566a2264c97e0eea7a11cafbb7a81ca6fc27e28 Mon Sep 17 00:00:00 2001 From: matushl Date: Sun, 10 Dec 2023 12:26:58 +0100 Subject: [PATCH] Fix styles of Banner and make it always visible --- src/components/PageLayout/Banner/Banner.module.scss | 5 ++--- src/components/PageLayout/Banner/Banner.tsx | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/components/PageLayout/Banner/Banner.module.scss b/src/components/PageLayout/Banner/Banner.module.scss index 62d4c8e1..92ae186d 100644 --- a/src/components/PageLayout/Banner/Banner.module.scss +++ b/src/components/PageLayout/Banner/Banner.module.scss @@ -5,16 +5,15 @@ border: none; display: flex; align-items: center; - padding: 0px; z-index: 3; margin-bottom: 0.5rem; - padding: 0.2rem; + padding: 0.2rem 0; } .marqueeTextContainer { white-space: nowrap; - padding: 0px; + padding: 0; height: 100%; display: flex; align-items: center; diff --git a/src/components/PageLayout/Banner/Banner.tsx b/src/components/PageLayout/Banner/Banner.tsx index 26c2bdce..16464cfb 100644 --- a/src/components/PageLayout/Banner/Banner.tsx +++ b/src/components/PageLayout/Banner/Banner.tsx @@ -12,7 +12,7 @@ export const Banner: FC = () => {
- {bannerText} + {bannerText || '\u00A0'}