Skip to content

Commit

Permalink
header bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
VoroninDima committed Oct 13, 2023
1 parent e77af0a commit 9f52b50
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 8 deletions.
9 changes: 8 additions & 1 deletion src/components/Header/Header.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,14 @@
top: 20px;
}

.header__logo {

@media screen and (max-width: 1210px) {
.header__logo {
margin-right: auto;
}
}

.header__logo img {
height: 48px;

@media screen and (max-width: 1210px) {
Expand Down
15 changes: 8 additions & 7 deletions src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,14 @@ function HeaderBody({ disconnect, account, balance, loginMetamask, loginWalletCo
className={`${s.header} ${isFixed ? s.header_fixed : ''}`}
ref={headerRef}
>
<img
src={logo}
width="160"
height="34"
className={s.header__logo}
alt="logo"
/>
<a href="https://staging-testnet.airdao.io/" className={s.header__logo}>
<img
src={logo}
width="160"
height="34"
alt="logo"
/>
</a>

<HeaderNav
className={s["nav-item-wrapper_desktop"]}
Expand Down

0 comments on commit 9f52b50

Please sign in to comment.