Update HacknetServerElem.tsx

OCD at work : putting the undimmed value above dimmed one for constency sake.
This commit is contained in:
borisflagell 2022-04-23 15:17:24 +02:00
parent d4f8f2d035
commit 1d3483c8c1

@ -70,12 +70,8 @@ export function HacknetServerElem(props: IProps): React.ReactElement {
<Tooltip
title={
<Typography>
<span style={{ opacity: 0.5 }}>
{" "}
+<HashRate hashes={base_increase} />{" "}
</span>{" "}
(base increase, attained when no script is running) <br />
+<HashRate hashes={modded_increase} /> (effective increase, taking current RAM usage into account)
+<HashRate hashes={modded_increase} /> (effective increase, taking current RAM usage into account)<br />
<span style={{ opacity: 0.5 }}>+<HashRate hashes={base_increase} /></span> (base increase, attained when no script is running)
</Typography>
}
>
@ -140,12 +136,8 @@ export function HacknetServerElem(props: IProps): React.ReactElement {
<Tooltip
title={
<Typography>
<span style={{ opacity: 0.5 }}>
{" "}
+<HashRate hashes={base_increase} />{" "}
</span>{" "}
(base increase, attained when no script is running) <br />
+<HashRate hashes={modded_increase} /> (effective increase, taking current RAM usage into account)
+<HashRate hashes={modded_increase} /> (effective increase, taking current RAM usage into account)<br />
<span style={{ opacity: 0.5 }}>+<HashRate hashes={base_increase} /></span> (base increase, attained when no script is running)
</Typography>
}
>
@ -188,12 +180,8 @@ export function HacknetServerElem(props: IProps): React.ReactElement {
<Tooltip
title={
<Typography>
<span style={{ opacity: 0.5 }}>
{" "}
+<HashRate hashes={base_increase} />{" "}
</span>{" "}
(base increase, attained when no script is running) <br />
+<HashRate hashes={modded_increase} /> (effective increase, taking current RAM usage into account)
+<HashRate hashes={modded_increase} /> (effective increase, taking current RAM usage into account)<br />
<span style={{ opacity: 0.5 }}>+<HashRate hashes={base_increase} /></span> (base increase, attained when no script is running)
</Typography>
}
>