Skip to content

Commit

Permalink
Merge pull request #38 from QuickSwap/issue/fix-farm-menu-position
Browse files Browse the repository at this point in the history
Fix farm menu
  • Loading branch information
totop716 authored Feb 25, 2022
2 parents 9551f2b + 5f4d222 commit f000949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ export default function Header() {
{t('pool')}
</StyledNavLink>
{ (chainId === ChainId.MATIC) &&
<span onMouseEnter={() => {setWidgetMenuOpen(true)}} onMouseLeave={() => {setWidgetMenuOpen(false)}}><StyledLinkStyledButton id={`stake-nav-link-00`} onClick={() => {setWidgetMenuOpen(!widgetMenuOpen)}} style={{margin: '0px', padding: '0px', marginLeft: mobile ? '4px':'12px', marginRight: mobile ? '0px':'12px'}}>
<div style={{ position: 'relative' }} onMouseEnter={() => {setWidgetMenuOpen(true)}} onMouseLeave={() => {setWidgetMenuOpen(false)}}><StyledLinkStyledButton id={`stake-nav-link-00`} onClick={() => {setWidgetMenuOpen(!widgetMenuOpen)}} style={{margin: '0px', padding: '0px', marginLeft: mobile ? '4px':'12px', marginRight: mobile ? '0px':'12px'}}>
Farms
</StyledLinkStyledButton>

Expand All @@ -468,7 +468,7 @@ export default function Header() {
</StyledMenu>
</StyledMenuContainer>
)}
</span>
</div>
}

{/*<StyledNavLink id={`stake-nav-link`} to={'/vote'}>*/}
Expand Down

0 comments on commit f000949

Please sign in to comment.