Skip to content

Commit

Permalink
Fixing banner promo issue (reactplay#949)
Browse files Browse the repository at this point in the history
* Fixing banner promo issue

* Fixed linting issues

---------

Co-authored-by: Tapas Adhikary <[email protected]>
  • Loading branch information
nirmalkc and atapas committed Feb 8, 2023
1 parent 948409c commit 2033ef0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
4 changes: 3 additions & 1 deletion src/common/header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,9 @@ const Header = () => {
return (
<>
<header
className={`app-header ${showHideBits.setHeaderStyle ? '' : ' app-header-home'}`}
className={`app-header ${
showHideBits.setHeaderStyle ? '' : ' app-header-home app-header-home--promo '
}`}
data-testid="app-header"
>
<span>
Expand Down
11 changes: 8 additions & 3 deletions src/common/header/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
position: fixed;
}

.app-header-home.app-header-home--promo {
top: 32px;
}

.app-logo {
display: block;
width: 178px;
Expand Down Expand Up @@ -493,13 +497,14 @@
background-color: #fad900;
min-height: 32px;
position: fixed;
z-index: 99;
margin-top: 56px;
font-size: var(--fs-sm);
line-height: var(--fs-sm);
z-index: 9;
width: 100%;
}

.event-link {
text-decoration: underline;
margin-left: 5px;
cursor: pointer;
}
}

0 comments on commit 2033ef0

Please sign in to comment.