Fix tab content padding

This commit is contained in:
Batman 2021-04-22 02:56:40 -03:00
parent e7bbdf179c
commit 330634958b

View File

@ -12,7 +12,7 @@ export const InventoryTabsContentView: FC<InventoryTabsContentViewProps> = props
const inventoryContext = useContext(InventoryContext); const inventoryContext = useContext(InventoryContext);
return ( return (
<div className="p-3"> <div className="px-3 pb-3">
{ inventoryContext && inventoryContext.currentTab && inventoryContext.currentTab === InventoryTabs.FURNITURE && <InventoryTabFurnitureView /> } { inventoryContext && inventoryContext.currentTab && inventoryContext.currentTab === InventoryTabs.FURNITURE && <InventoryTabFurnitureView /> }
{ inventoryContext && inventoryContext.currentTab && inventoryContext.currentTab === InventoryTabs.BOTS && <InventoryTabBotsView /> } { inventoryContext && inventoryContext.currentTab && inventoryContext.currentTab === InventoryTabs.BOTS && <InventoryTabBotsView /> }
{ inventoryContext && inventoryContext.currentTab && inventoryContext.currentTab === InventoryTabs.PETS && <InventoryTabPetsView /> } { inventoryContext && inventoryContext.currentTab && inventoryContext.currentTab === InventoryTabs.PETS && <InventoryTabPetsView /> }