diff --git a/src/views/inventory/views/badge/InventoryBadgeView.scss b/src/views/inventory/views/badge/InventoryBadgeView.scss index 7285ce2f..fc975ace 100644 --- a/src/views/inventory/views/badge/InventoryBadgeView.scss +++ b/src/views/inventory/views/badge/InventoryBadgeView.scss @@ -7,7 +7,7 @@ } .inventory-badge-overflow { - height: calc(100% - 86px); + height: calc(100% - 91px); } @import './item/InventoryBadgeItemView'; diff --git a/src/views/inventory/views/trade/InventoryTradeView.tsx b/src/views/inventory/views/trade/InventoryTradeView.tsx index 212ca779..b95716ab 100644 --- a/src/views/inventory/views/trade/InventoryTradeView.tsx +++ b/src/views/inventory/views/trade/InventoryTradeView.tsx @@ -163,41 +163,43 @@ export const InventoryTradeView: FC = props => }) } -
-
{ LocalizeText('inventory.trading.you') }
- - { Array.from(Array(MAX_ITEMS_TO_TRADE), (e, i) => - { - const item = (tradeData.ownUser.items.getWithIndex(i) || null); +
+
+
{ LocalizeText('inventory.trading.you') }
+ + { Array.from(Array(MAX_ITEMS_TO_TRADE), (e, i) => + { + const item = (tradeData.ownUser.items.getWithIndex(i) || null); - if(!item) return ; + if(!item) return ; - return ( - setSelectedGroupItem(item) }> - { (item === selectedGroupItem) && - } - - ); - }) } - -
-
-
{ tradeData.otherUser.userName }
- - { Array.from(Array(MAX_ITEMS_TO_TRADE), (e, i) => - { - const item = (tradeData.otherUser.items.getWithIndex(i) || null); + return ( + setSelectedGroupItem(item) }> + { (item === selectedGroupItem) && + } + + ); + }) } + +
+
+
{ tradeData.otherUser.userName }
+ + { Array.from(Array(MAX_ITEMS_TO_TRADE), (e, i) => + { + const item = (tradeData.otherUser.items.getWithIndex(i) || null); - if(!item) return ; + if(!item) return ; - return setSelectedGroupItem(item) } />; - }) } - -
-
- plz + return setSelectedGroupItem(item) } />; + }) } + +
+
+ plz +
);