Commit 1092bc2c authored by Brendan Wong's avatar Brendan Wong Committed by GitHub

fix: collision of network banner and swap settings (#6910)

* change z-index of network banner

* change to use pointer-events rather than deprecated value
parent a2e56aaa
......@@ -7,7 +7,6 @@ import styled from 'styled-components/macro'
import { ExternalLink, HideSmall } from 'theme'
import { colors } from 'theme/colors'
import { useDarkModeManager } from 'theme/components/ThemeToggle'
import { Z_INDEX } from 'theme/zIndex'
import { AutoRow } from '../Row'
......@@ -112,6 +111,7 @@ const ContentWrapper = styled.div<{ chainId: NetworkAlertChains; darkMode: boole
position: absolute;
transform: rotate(25deg) translate(-90px, -40px);
width: 300px;
pointer-events: none;
}
`
const Header = styled.h2`
......@@ -130,7 +130,6 @@ const LinkOutToBridge = styled(ExternalLink)`
padding: 6px 8px;
text-decoration: none !important;
width: 100%;
z-index: ${Z_INDEX.hover};
`
const StyledArrowUpRight = styled(ArrowUpRight)`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment