Browse Source
Make button size fix
Looks good until a quantity of 100_000_000
release/0.3.1
bonomat
3 years ago
No known key found for this signature in database
GPG Key ID: E5F8E74C672BC666
1 changed files with
9 additions and
2 deletions
-
taker-frontend/src/components/Trade.tsx
|
@ -214,13 +214,20 @@ export default function Trade({ |
|
|
padding="3" |
|
|
padding="3" |
|
|
spacing="6" |
|
|
spacing="6" |
|
|
> |
|
|
> |
|
|
<Button colorScheme="red" size="lg" disabled h={16}> |
|
|
<Button colorScheme="red" size="lg" disabled h={16} w={"40"}> |
|
|
<VStack> |
|
|
<VStack> |
|
|
<Text as="b">Short</Text> |
|
|
<Text as="b">Short</Text> |
|
|
<Text fontSize={"sm"}>{quantity.replace("$", "")}@{askPrice}</Text> |
|
|
<Text fontSize={"sm"}>{quantity.replace("$", "")}@{askPrice}</Text> |
|
|
</VStack> |
|
|
</VStack> |
|
|
</Button> |
|
|
</Button> |
|
|
<Button disabled={!canSubmit} colorScheme="green" size="lg" onClick={onOpen} h={16}> |
|
|
<Button |
|
|
|
|
|
disabled={!canSubmit} |
|
|
|
|
|
colorScheme="green" |
|
|
|
|
|
size="lg" |
|
|
|
|
|
onClick={onOpen} |
|
|
|
|
|
h={16} |
|
|
|
|
|
w={"40"} |
|
|
|
|
|
> |
|
|
<VStack> |
|
|
<VStack> |
|
|
<Text as="b">Long</Text> |
|
|
<Text as="b">Long</Text> |
|
|
<Text fontSize={"sm"}>{quantity.replace("$", "")}@{askPrice}</Text> |
|
|
<Text fontSize={"sm"}>{quantity.replace("$", "")}@{askPrice}</Text> |
|
|