mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-03-09 11:52:32 +01:00
Fix SF levels and tweak spacing
This commit is contained in:
@ -133,7 +133,7 @@ export function AugmentationsRoot(props: IProps): React.ReactElement {
|
||||
</>
|
||||
}
|
||||
>
|
||||
<Info sx={{ ml: 1, mb: 1 }} color="info" />
|
||||
<Info sx={{ ml: 1, mb: 0.5 }} color="info" />
|
||||
</Tooltip>
|
||||
</Typography>
|
||||
<ConfirmationModal
|
||||
|
@ -67,7 +67,7 @@ function MultiplierList({ rows, color, noMargin = false }: MultListProps): React
|
||||
secondary={
|
||||
<span style={{ display: "flex", alignItems: "center", flexWrap: "wrap" }}>
|
||||
<BitNodeModifiedStats base={value} mult={bnMult} color={color} />
|
||||
<DoubleArrow fontSize="small" color="success" sx={{ mb: 1, mx: 1 }} />
|
||||
<DoubleArrow fontSize="small" color="success" sx={{ mb: 0.5, mx: 1 }} />
|
||||
<BitNodeModifiedStats base={improved} mult={bnMult} color={Settings.theme.success} />
|
||||
</span>
|
||||
}
|
||||
|
@ -98,6 +98,7 @@ export function SourceFilesElement(): React.ReactElement {
|
||||
|
||||
{sourceSfs.map((e, i) => {
|
||||
const sfObj = safeGetSf(e.n);
|
||||
if (!sfObj) return;
|
||||
const maxLevel = sfObj?.n === 12 ? "∞" : "3";
|
||||
|
||||
return (
|
||||
@ -109,10 +110,10 @@ export function SourceFilesElement(): React.ReactElement {
|
||||
>
|
||||
<ListItemText
|
||||
disableTypography
|
||||
primary={<Typography>{sfObj?.name}</Typography>}
|
||||
primary={<Typography>{sfObj.name}</Typography>}
|
||||
secondary={
|
||||
<Typography>
|
||||
Level {selectedSf.lvl} / {maxLevel}
|
||||
Level {e.lvl} / {maxLevel}
|
||||
</Typography>
|
||||
}
|
||||
/>
|
||||
@ -128,6 +129,7 @@ export function SourceFilesElement(): React.ReactElement {
|
||||
<Typography sx={{ maxHeight: 305, overflowY: "scroll" }}>
|
||||
{(() => {
|
||||
const sfObj = safeGetSf(selectedSf.n);
|
||||
if (!sfObj) return;
|
||||
|
||||
let maxLevel;
|
||||
switch (sfObj?.n) {
|
||||
|
@ -363,7 +363,7 @@ export function CharacterStats(): React.ReactElement {
|
||||
</Typography>
|
||||
}
|
||||
>
|
||||
<Info sx={{ ml: 1, mb: 1 }} color="info" />
|
||||
<Info sx={{ ml: 1, mb: 0.5 }} color="info" />
|
||||
</Tooltip>
|
||||
</Typography>
|
||||
<Box sx={{ display: "grid", gridTemplateColumns: "1fr 1fr", gap: 1 }}>
|
||||
|
Reference in New Issue
Block a user