Skip to content

Commit

Permalink
Fix styles of Banner and make it always visible
Browse files Browse the repository at this point in the history
  • Loading branch information
Matushl committed Dec 10, 2023
1 parent 12a088a commit 2566a22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/components/PageLayout/Banner/Banner.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion src/components/PageLayout/Banner/Banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const Banner: FC = () => {
<div className={styles.banner}>
<Marquee gradient={false} speed={100}>
<Typography variant="h2" component="span" className={styles.marqueeTextContainer}>
{bannerText}
{bannerText || '\u00A0'}
</Typography>
</Marquee>
</div>
Expand Down

0 comments on commit 2566a22

Please sign in to comment.