Merge pull request #3614 from nickofolas/improvement/purchased-aug-color

AUGMENTATIONS: Tweak a couple small UI elements
This commit is contained in:
hydroflame 2022-05-05 14:45:14 -04:00 committed by GitHub
commit 4ba7df8d72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

@ -219,6 +219,7 @@ export function PurchasableAugmentation(props: IPurchasableAugProps): React.Reac
textOverflow: "ellipsis", textOverflow: "ellipsis",
whiteSpace: "nowrap", whiteSpace: "nowrap",
overflow: "hidden", overflow: "hidden",
color: props.owned ? Settings.theme.disabled : Settings.theme.primary,
}} }}
> >
{aug.name} {aug.name}

@ -145,7 +145,7 @@ export function AugmentationsPage(props: IProps): React.ReactElement {
<> <>
<Container disableGutters maxWidth="lg" sx={{ mx: 0 }}> <Container disableGutters maxWidth="lg" sx={{ mx: 0 }}>
<Button onClick={props.routeToMainPage}>Back</Button> <Button onClick={props.routeToMainPage}>Back</Button>
<Typography variant="h4">Faction Augmentations</Typography> <Typography variant="h4">Faction Augmentations - {props.faction.name}</Typography>
<Paper sx={{ p: 1, mb: 1 }}> <Paper sx={{ p: 1, mb: 1 }}>
<Typography> <Typography>
These are all of the Augmentations that are available to purchase from <b>{props.faction.name}</b>. These are all of the Augmentations that are available to purchase from <b>{props.faction.name}</b>.