aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/ui/circle.tsx
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-09 03:25:25 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-09 03:25:25 +0800
commit3395b8d095a62e5baa4c049da98b256ce596d6b9 (patch)
treeb9241ba7299fdcc5f7a5e1f17cad7a4a95ae203d /packages/instant/src/components/ui/circle.tsx
parent88eb642aa543673bde52c1d14fc1f3e92d8b2137 (diff)
parentb388d5496272d535b5c192a7098f4227bb1fb3f2 (diff)
downloaddexon-sol-tools-3395b8d095a62e5baa4c049da98b256ce596d6b9.tar
dexon-sol-tools-3395b8d095a62e5baa4c049da98b256ce596d6b9.tar.gz
dexon-sol-tools-3395b8d095a62e5baa4c049da98b256ce596d6b9.tar.bz2
dexon-sol-tools-3395b8d095a62e5baa4c049da98b256ce596d6b9.tar.lz
dexon-sol-tools-3395b8d095a62e5baa4c049da98b256ce596d6b9.tar.xz
dexon-sol-tools-3395b8d095a62e5baa4c049da98b256ce596d6b9.tar.zst
dexon-sol-tools-3395b8d095a62e5baa4c049da98b256ce596d6b9.zip
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/instant/dropdown-ui
Diffstat (limited to 'packages/instant/src/components/ui/circle.tsx')
-rw-r--r--packages/instant/src/components/ui/circle.tsx10
1 files changed, 6 insertions, 4 deletions
diff --git a/packages/instant/src/components/ui/circle.tsx b/packages/instant/src/components/ui/circle.tsx
index cb121992f..4f9f56f12 100644
--- a/packages/instant/src/components/ui/circle.tsx
+++ b/packages/instant/src/components/ui/circle.tsx
@@ -11,10 +11,12 @@ export const Circle = withTheme(
styled.div <
CircleProps >
`
- width: ${props => props.diameter}px;
- height: ${props => props.diameter}px;
- background-color: ${props => (props.rawColor ? props.rawColor : props.theme[props.color || ColorOption.white])};
- border-radius: 50%;
+ && {
+ width: ${props => props.diameter}px;
+ height: ${props => props.diameter}px;
+ background-color: ${props => (props.rawColor ? props.rawColor : props.theme[props.color || ColorOption.white])};
+ border-radius: 50%;
+ }
`,
);