Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Remove cow claim button on desktop fly-out menu #2292

Merged
merged 1 commit into from
Jan 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/custom/components/Menu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ const MenuItemResponsive = styled(MenuItemResponsiveBase)`
flex: 0 1 auto;
padding: 16px;
font-size: 18px;

svg {
width: 18px;
height: 18px;
Expand Down Expand Up @@ -99,8 +100,10 @@ export const StyledMenu = styled(MenuMod)<{ isClaimPage: boolean }>`

${ClaimButtonWrapper} {
margin: 0 0 12px;
display: none;

${({ theme }) => theme.mediaWidth.upToSmall`
display: flex;
margin: 0 12px 12px;
width: 100%;
height: 56px;
Expand Down Expand Up @@ -199,6 +202,7 @@ const MenuFlyout = styled(MenuFlyoutUni)`
align-items: center;
}
}

> a:hover {
background: ${({ theme }) => theme.disabled};
border-radius: 6px;
Expand Down