style: remove broken flex property (#4650)
This commit is contained in:
parent
470535dd33
commit
d31687d0bf
@ -60,9 +60,7 @@ const Web3StatusError = styled(Web3StatusGeneric)`
|
|||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const Web3StatusConnectNavbar = styled.button<{ faded?: boolean }>`
|
const Web3StatusConnectButton = styled.button<{ faded?: boolean }>`
|
||||||
dispay: flex;
|
|
||||||
align-items: center;
|
|
||||||
${({ theme }) => theme.flexRowNoWrap}
|
${({ theme }) => theme.flexRowNoWrap}
|
||||||
background-color: ${({ theme }) => theme.accentActionSoft};
|
background-color: ${({ theme }) => theme.accentActionSoft};
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
@ -251,7 +249,7 @@ function Web3StatusInner() {
|
|||||||
element={ElementName.CONNECT_WALLET_BUTTON}
|
element={ElementName.CONNECT_WALLET_BUTTON}
|
||||||
>
|
>
|
||||||
{navbarFlagEnabled ? (
|
{navbarFlagEnabled ? (
|
||||||
<Web3StatusConnectNavbar faded={!account}>
|
<Web3StatusConnectButton faded={!account}>
|
||||||
<StyledConnect data-testid="navbar-connect-wallet" onClick={toggleWalletModal}>
|
<StyledConnect data-testid="navbar-connect-wallet" onClick={toggleWalletModal}>
|
||||||
<Trans>Connect</Trans>
|
<Trans>Connect</Trans>
|
||||||
</StyledConnect>
|
</StyledConnect>
|
||||||
@ -269,7 +267,7 @@ function Web3StatusInner() {
|
|||||||
onClick={toggleWalletDropdown}
|
onClick={toggleWalletDropdown}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</Web3StatusConnectNavbar>
|
</Web3StatusConnectButton>
|
||||||
) : (
|
) : (
|
||||||
<Web3StatusConnect onClick={toggleWallet} faded={!account}>
|
<Web3StatusConnect onClick={toggleWallet} faded={!account}>
|
||||||
<Text>
|
<Text>
|
||||||
|
Loading…
Reference in New Issue
Block a user