From a904c362d9c98053d60cb62e781719b7259f4760 Mon Sep 17 00:00:00 2001 From: nickofolas Date: Wed, 19 Jan 2022 18:15:52 -0600 Subject: [PATCH] Office UI alignment --- src/Corporation/ui/IndustryOffice.tsx | 74 +++++++++++++-------------- 1 file changed, 35 insertions(+), 39 deletions(-) diff --git a/src/Corporation/ui/IndustryOffice.tsx b/src/Corporation/ui/IndustryOffice.tsx index 57c0682a9..62c6b2205 100644 --- a/src/Corporation/ui/IndustryOffice.tsx +++ b/src/Corporation/ui/IndustryOffice.tsx @@ -26,6 +26,7 @@ import Table from "@mui/material/Table"; import TableBody from "@mui/material/TableBody"; import TableRow from "@mui/material/TableRow"; import { TableCell } from "../../ui/React/Table"; +import { Box } from "@mui/material"; interface IProps { office: OfficeSpace; @@ -430,51 +431,46 @@ export function IndustryOffice(props: IProps): React.ReactElement { Size: {props.office.employees.length} / {props.office.size} employees - Automatically hires an employee and gives him/her a random name}> - - - - -
- Upgrade the office's size so that it can hold more employees!}> - - - - - setUpgradeOfficeSizeOpen(false)} - /> - - {!division.hasResearch("AutoPartyManager") && ( - <> - Throw an office party to increase your employee's morale and happiness} - > - - - + + + Automatically hires an employee and gives him/her a random name}> + - Upgrade the office's size so that it can hold more employees!}> + + + setThrowPartyOpen(false)} + open={upgradeOfficeSizeOpen} + onClose={() => setUpgradeOfficeSizeOpen(false)} /> - - )} -
+ {!division.hasResearch("AutoPartyManager") && ( + <> + Throw an office party to increase your employee's morale and happiness} + > + + + setThrowPartyOpen(false)} + /> + + )} - + + + {employeeManualAssignMode ? ( ) : (