From 3454bbfd65f69f219e210fe87bfad5be6993adde Mon Sep 17 00:00:00 2001 From: fragosti Date: Wed, 5 Dec 2018 11:39:10 -0800 Subject: fix: input placeholder css specificity increase --- packages/instant/src/components/ui/input.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/instant') diff --git a/packages/instant/src/components/ui/input.tsx b/packages/instant/src/components/ui/input.tsx index 863c970ef..62c70f9e1 100644 --- a/packages/instant/src/components/ui/input.tsx +++ b/packages/instant/src/components/ui/input.tsx @@ -29,8 +29,8 @@ export const Input = outline: none; border: none; &::placeholder { - color: ${props => props.theme[props.fontColor || 'white']}; - opacity: 0.5; + color: ${props => props.theme[props.fontColor || 'white']} !important; + opacity: 0.5 !important; } } `; -- cgit v1.2.3 From 92d4c1d09e05d82bec010f0241c6772ff03da503 Mon Sep 17 00:00:00 2001 From: fragosti Date: Wed, 5 Dec 2018 11:52:27 -0800 Subject: fix: call toLowerCase in asset creation logic --- packages/instant/src/util/asset.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/instant') diff --git a/packages/instant/src/util/asset.ts b/packages/instant/src/util/asset.ts index 08f3642e3..13f84ef74 100644 --- a/packages/instant/src/util/asset.ts +++ b/packages/instant/src/util/asset.ts @@ -26,7 +26,7 @@ export const assetUtils = { return; } return { - assetData, + assetData: assetData.toLowerCase(), metaData, }; }, @@ -36,7 +36,7 @@ export const assetUtils = { network: Network, ): Asset => { return { - assetData, + assetData: assetData.toLowerCase(), metaData: assetUtils.getMetaDataOrThrow(assetData, assetMetaDataMap, network), }; }, -- cgit v1.2.3 From 55ebf405a0cc7dd24607ff1d1db5b0edd3a61e6e Mon Sep 17 00:00:00 2001 From: fragosti Date: Wed, 5 Dec 2018 11:56:54 -0800 Subject: chore: add coingecko css example to externall.css --- packages/instant/public/external.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/instant') diff --git a/packages/instant/public/external.css b/packages/instant/public/external.css index cab11112a..21278577e 100644 --- a/packages/instant/public/external.css +++ b/packages/instant/public/external.css @@ -15,6 +15,10 @@ input { height: 100px; } +input::-webkit-input-placeholder { + color: #b4b4b4 !important; +} + div { padding: 3px; } -- cgit v1.2.3 From f2c5a8e2f1e517e89f45b03bd3cdf5bb59c450bf Mon Sep 17 00:00:00 2001 From: fragosti Date: Wed, 5 Dec 2018 12:16:55 -0800 Subject: feat: lowercase keys in additionalAssetMetaDataMap --- packages/instant/src/components/zero_ex_instant_provider.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/instant') diff --git a/packages/instant/src/components/zero_ex_instant_provider.tsx b/packages/instant/src/components/zero_ex_instant_provider.tsx index dae9124c6..f06d551c7 100644 --- a/packages/instant/src/components/zero_ex_instant_provider.tsx +++ b/packages/instant/src/components/zero_ex_instant_provider.tsx @@ -60,7 +60,8 @@ export class ZeroExInstantProvider extends React.Component key.toLowerCase()), ...defaultState.assetMetaDataMap, }; // construct the final state -- cgit v1.2.3