Skip to content

Commit

Permalink
navigation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nirmalkc committed Mar 16, 2022
1 parent 399dbee commit 08d2750
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Header = () => {
}, [pathName]);

return (
<header className={headerStyle ? "app-header c-header" : "app-header"}>
<header className={headerStyle ? "app-header" : "app-header app-header-home"}>
<span><Link to="/" className="app-logo"><span className="sr-only">React Play</span></Link></span>
<div className="app-header-search">
{
Expand Down
4 changes: 4 additions & 0 deletions src/common/header/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
padding: 0 1rem;
}

.app-header-home {
position: fixed;
}

.app-logo {
display: block;
width: 178px;
Expand Down

0 comments on commit 08d2750

Please sign in to comment.