Commit 8e955e92 authored by vignesh mohankumar's avatar vignesh mohankumar Committed by GitHub

fix: fully round corner on account dropdown (#4682)

* fix: fully rounder corner on account dropdown

* comment
parent 9ca44652
...@@ -34,12 +34,15 @@ import Loader from '../Loader' ...@@ -34,12 +34,15 @@ import Loader from '../Loader'
import { RowBetween } from '../Row' import { RowBetween } from '../Row'
import WalletModal from '../WalletModal' import WalletModal from '../WalletModal'
// https://stackoverflow.com/a/31617326
const FULL_BORDER_RADIUS = 9999
const Web3StatusGeneric = styled(ButtonSecondary)` const Web3StatusGeneric = styled(ButtonSecondary)`
${({ theme }) => theme.flexRowNoWrap} ${({ theme }) => theme.flexRowNoWrap}
width: 100%; width: 100%;
align-items: center; align-items: center;
padding: 0.5rem; padding: 0.5rem;
border-radius: 14px; border-radius: ${FULL_BORDER_RADIUS}px;
cursor: pointer; cursor: pointer;
user-select: none; user-select: none;
height: 36px; height: 36px;
...@@ -64,7 +67,7 @@ const Web3StatusConnectButton = styled.button<{ faded?: boolean }>` ...@@ -64,7 +67,7 @@ const Web3StatusConnectButton = styled.button<{ faded?: boolean }>`
${({ theme }) => theme.flexRowNoWrap} ${({ theme }) => theme.flexRowNoWrap}
align-items: center; align-items: center;
background-color: ${({ theme }) => theme.accentActionSoft}; background-color: ${({ theme }) => theme.accentActionSoft};
border-radius: 12px; border-radius: ${FULL_BORDER_RADIUS}px;
border: none; border: none;
cursor: pointer; cursor: pointer;
padding: 0 12px; padding: 0 12px;
......
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