From 75b9ca5b8bc3b2932d9b6a1d2c5b151cee77186d Mon Sep 17 00:00:00 2001 From: John Kelleher Date: Sun, 21 Jun 2020 14:36:14 -0400 Subject: [PATCH 1/2] Only show limit price in sell token --- src/components/TradeWidget/Price.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/TradeWidget/Price.tsx b/src/components/TradeWidget/Price.tsx index 1f264fded..d5da8c493 100644 --- a/src/components/TradeWidget/Price.tsx +++ b/src/components/TradeWidget/Price.tsx @@ -62,8 +62,8 @@ export const PriceInputBox = styled.div` display: flex; flex-flow: column nowrap; margin: 0; - width: 50%; width: calc(50% - 0.8rem); + width: 70%; position: relative; outline: 0; @@ -222,7 +222,7 @@ const Price: React.FC = ({ sellToken, receiveToken, priceInputId, priceIn Limit Price - + From b3296e67729a8110a49c0ffe47bb54d25a225514 Mon Sep 17 00:00:00 2001 From: John Kelleher Date: Sun, 21 Jun 2020 16:30:21 -0400 Subject: [PATCH 2/2] Set width back to 50% for PriceInputBox --- src/components/TradeWidget/Price.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TradeWidget/Price.tsx b/src/components/TradeWidget/Price.tsx index d5da8c493..9a6ec7b07 100644 --- a/src/components/TradeWidget/Price.tsx +++ b/src/components/TradeWidget/Price.tsx @@ -62,8 +62,8 @@ export const PriceInputBox = styled.div` display: flex; flex-flow: column nowrap; margin: 0; + width: 50%; width: calc(50% - 0.8rem); - width: 70%; position: relative; outline: 0;