Initial aug page overhaul work

This commit is contained in:
nickofolas
2022-04-07 17:53:58 -05:00
parent a9a31662ce
commit c94b4f4fd3
5 changed files with 456 additions and 220 deletions
@@ -9,7 +9,7 @@ import { AugmentationNames } from "../data/AugmentationNames";
import { Player } from "../../Player";
import { AugmentationAccordion } from "../../ui/React/AugmentationAccordion";
import List from "@mui/material/List";
import { List, Paper } from "@mui/material";
export function PurchasedAugmentations(): React.ReactElement {
const augs: React.ReactElement[] = [];
@@ -32,5 +32,9 @@ export function PurchasedAugmentations(): React.ReactElement {
augs.push(<AugmentationAccordion key={aug.name} aug={aug} level={level} />);
}
return <List dense>{augs}</List>;
return (
<Paper sx={{ p: 1, maxHeight: 400, overflowY: "scroll" }}>
<List dense>{augs}</List>
</Paper>
);
}