Skip to content

Commit

Permalink
style: remove broken flex property (Uniswap#4650)
Browse files Browse the repository at this point in the history
  • Loading branch information
vm authored Sep 19, 2022
1 parent 470535d commit d31687d
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/components/Web3Status/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,7 @@ const Web3StatusError = styled(Web3StatusGeneric)`
}
`

const Web3StatusConnectNavbar = styled.button<{ faded?: boolean }>`
dispay: flex;
align-items: center;
const Web3StatusConnectButton = styled.button<{ faded?: boolean }>`
${({ theme }) => theme.flexRowNoWrap}
background-color: ${({ theme }) => theme.accentActionSoft};
border-radius: 12px;
Expand Down Expand Up @@ -251,7 +249,7 @@ function Web3StatusInner() {
element={ElementName.CONNECT_WALLET_BUTTON}
>
{navbarFlagEnabled ? (
<Web3StatusConnectNavbar faded={!account}>
<Web3StatusConnectButton faded={!account}>
<StyledConnect data-testid="navbar-connect-wallet" onClick={toggleWalletModal}>
<Trans>Connect</Trans>
</StyledConnect>
Expand All @@ -269,7 +267,7 @@ function Web3StatusInner() {
onClick={toggleWalletDropdown}
/>
)}
</Web3StatusConnectNavbar>
</Web3StatusConnectButton>
) : (
<Web3StatusConnect onClick={toggleWallet} faded={!account}>
<Text>
Expand Down

0 comments on commit d31687d

Please sign in to comment.