+
Borrows
{mangoAccount
? ceilToDecimal(
@@ -269,7 +258,7 @@ export default function MarketPosition() {
Interest Rates
@@ -295,33 +284,8 @@ export default function MarketPosition() {
})}
) : null}
-
-
-
-
- {showDepositModal && (
-
- )}
- {showWithdrawModal && (
-
- )}
>
)
}
diff --git a/components/TradePageGrid.tsx b/components/TradePageGrid.tsx
index a691b407..a0b5a731 100644
--- a/components/TradePageGrid.tsx
+++ b/components/TradePageGrid.tsx
@@ -24,13 +24,13 @@ export const defaultLayouts = {
{ i: 'orderbook', x: 6, y: 0, w: 3, h: 17 },
{ i: 'tradeForm', x: 9, y: 1, w: 3, h: 14 },
{ i: 'marketTrades', x: 6, y: 1, w: 3, h: 13 },
- { i: 'marketPosition', x: 9, y: 3, w: 3, h: 15 },
+ { i: 'marketPosition', x: 9, y: 3, w: 3, h: 13 },
{ i: 'userInfo', x: 0, y: 2, w: 9, h: 19 },
{ i: 'marginInfo', x: 9, y: 4, w: 3, h: 15 },
],
lg: [
- { i: 'tvChart', x: 0, y: 0, w: 8, h: 30, minW: 2 },
- { i: 'marketPosition', x: 8, y: 0, w: 4, h: 15, minW: 2 },
+ { i: 'tvChart', x: 0, y: 0, w: 8, h: 28, minW: 2 },
+ { i: 'marketPosition', x: 8, y: 0, w: 4, h: 13, minW: 2 },
{ i: 'marginInfo', x: 8, y: 1, w: 4, h: 15, minW: 2 },
{ i: 'orderbook', x: 0, y: 2, w: 4, h: 17, minW: 2 },
{ i: 'tradeForm', x: 4, y: 2, w: 4, h: 17, minW: 3 },
@@ -38,8 +38,8 @@ export const defaultLayouts = {
{ i: 'userInfo', x: 0, y: 3, w: 12, h: 19, minW: 6 },
],
md: [
- { i: 'tvChart', x: 0, y: 0, w: 8, h: 30, minW: 2 },
- { i: 'marketPosition', x: 8, y: 0, w: 4, h: 15, minW: 2 },
+ { i: 'tvChart', x: 0, y: 0, w: 8, h: 28, minW: 2 },
+ { i: 'marketPosition', x: 8, y: 0, w: 4, h: 13, minW: 2 },
{ i: 'marginInfo', x: 8, y: 1, w: 4, h: 15, minW: 2 },
{ i: 'orderbook', x: 0, y: 2, w: 4, h: 17, minW: 2 },
{ i: 'tradeForm', x: 4, y: 2, w: 4, h: 17, minW: 3 },
@@ -49,7 +49,7 @@ export const defaultLayouts = {
sm: [
{ i: 'tvChart', x: 0, y: 0, w: 12, h: 25, minW: 6 },
{ i: 'marketPosition', x: 0, y: 1, w: 6, h: 15, minW: 2 },
- { i: 'marginInfo', x: 6, y: 1, w: 6, h: 16, minW: 2 },
+ { i: 'marginInfo', x: 6, y: 1, w: 6, h: 15, minW: 2 },
{ i: 'tradeForm', x: 0, y: 2, w: 12, h: 13, minW: 3 },
{ i: 'orderbook', x: 0, y: 3, w: 6, h: 17, minW: 3 },
{ i: 'marketTrades', x: 6, y: 3, w: 6, h: 17, minW: 2 },
@@ -57,8 +57,8 @@ export const defaultLayouts = {
],
xs: [
{ i: 'tvChart', x: 0, y: 0, w: 0, h: 0, minW: 6 },
- { i: 'marketPosition', x: 0, y: 1, w: 6, h: 15, minW: 2 },
- { i: 'marginInfo', x: 0, y: 2, w: 6, h: 16, minW: 2 },
+ { i: 'marketPosition', x: 0, y: 1, w: 6, h: 13, minW: 2 },
+ { i: 'marginInfo', x: 0, y: 2, w: 6, h: 15, minW: 2 },
{ i: 'tradeForm', x: 0, y: 3, w: 12, h: 13, minW: 3 },
{ i: 'orderbook', x: 0, y: 4, w: 6, h: 17, minW: 3 },
{ i: 'marketTrades', x: 0, y: 5, w: 6, h: 17, minW: 2 },