diff --git a/src/components/Cellar/Cellar.js b/src/components/Cellar/Cellar.js index 3edf64034..82bcd1a38 100644 --- a/src/components/Cellar/Cellar.js +++ b/src/components/Cellar/Cellar.js @@ -1,5 +1,4 @@ import React, { useState } from 'react' -import Box from '@mui/material/Box' import Tab from '@mui/material/Tab' import Tabs from '@mui/material/Tabs' @@ -14,16 +13,14 @@ export const Cellar = () => { return (
- - setCurrentTab(newTab)} - aria-label="Cellar tabs" - > - - - - + setCurrentTab(newTab)} + aria-label="Cellar tabs" + > + + +
diff --git a/src/components/ChatRoom/ChatRoom.js b/src/components/ChatRoom/ChatRoom.js index 9cebd0f5d..bee20d0ca 100644 --- a/src/components/ChatRoom/ChatRoom.js +++ b/src/components/ChatRoom/ChatRoom.js @@ -54,7 +54,7 @@ export const ChatRoom = () => { aria-describedby={dialogTitleId} aria-labelledby={dialogContentId} > - Chat room + Chat room {chatRoomComponent} diff --git a/src/components/CowPenContextMenu/CowPenContextMenu.js b/src/components/CowPenContextMenu/CowPenContextMenu.js index e4b351b88..ca542e735 100644 --- a/src/components/CowPenContextMenu/CowPenContextMenu.js +++ b/src/components/CowPenContextMenu/CowPenContextMenu.js @@ -1,6 +1,5 @@ import React, { useState } from 'react' import { array, func, number, object, string } from 'prop-types' -import Box from '@mui/material/Box' import ArrowDownwardIcon from '@mui/icons-material/ArrowDownward' import ArrowUpwardIcon from '@mui/icons-material/ArrowUpward' import Fab from '@mui/material/Fab' @@ -94,17 +93,16 @@ export const CowPenContextMenu = ({ cow: cowForSale, }} /> - - setCurrentTab(newTab)} - aria-label="Cow tabs" - > - - - - - + setCurrentTab(newTab)} + aria-label="Cow tabs" + sx={{ mt: '1rem' }} + > + + + +

Capacity: {cowInventory.length} /{' '} diff --git a/src/components/Shop/Shop.js b/src/components/Shop/Shop.js index b551559b0..d467d70a2 100644 --- a/src/components/Shop/Shop.js +++ b/src/components/Shop/Shop.js @@ -1,6 +1,5 @@ import React, { useState } from 'react' import { array, func, number, object } from 'prop-types' -import Box from '@mui/material/Box' import Button from '@mui/material/Button' import Card from '@mui/material/Card' import CardActions from '@mui/material/CardActions' @@ -82,17 +81,15 @@ export const Shop = ({ return (
- - setCurrentTab(newTab)} - aria-label="Shop tabs" - > - - - - - + setCurrentTab(newTab)} + aria-label="Shop tabs" + > + + + + - - setCurrentTab(newTab)} - aria-label="Workshop tabs" - > - - {showForge ? : null} - {purchasedComposter ? ( - - ) : null} - - + setCurrentTab(newTab)} + aria-label="Workshop tabs" + > + + {showForge ? : null} + {purchasedComposter ? ( + + ) : null} + .MuiBox-root - border-radius: .5em .5em 0 0 + > .MuiTabs-root margin-top: 4em [role=tabpanel]