diff --git a/src/Faction/ui/Info.tsx b/src/Faction/ui/Info.tsx index 5dbec5bec..3915b2c50 100644 --- a/src/Faction/ui/Info.tsx +++ b/src/Faction/ui/Info.tsx @@ -43,8 +43,8 @@ export class Info extends React.Component { const favorGain = this.props.faction.getFavorGain()[0]; return (<> You will have {Favor(this.props.faction.favor+favorGain)} faction favor after installing an Augmentation. - - + + ); } @@ -59,8 +59,8 @@ export class Info extends React.Component { install an Augmentation. The amount of favor you gain depends on the total amount of reputation you earned with this faction. Across all resets. - - + + ; diff --git a/src/Locations/ui/CoresButton.tsx b/src/Locations/ui/CoresButton.tsx index 4cc23fa6e..c2f489c31 100644 --- a/src/Locations/ui/CoresButton.tsx +++ b/src/Locations/ui/CoresButton.tsx @@ -12,7 +12,7 @@ import { purchaseRamForHomeComputer } from "../../Server/ServerPurchases"; import { StdButtonPurchased } from "../../ui/React/StdButtonPurchased"; import { StdButton } from "../../ui/React/StdButton"; import { Money } from "../../ui/React/Money"; -import { MathComponent } from 'mathjax-react'; +import { MathComponent } from 'mathjax-react'; type IProps = { p: IPlayer; @@ -44,12 +44,29 @@ export function CoresButton(props: IProps): React.ReactElement { homeComputer.cpuCores++; rerender(); } -//tooltip={} + const settings = { + CommonHTML: { + scale: 90 + }, + "HTML-CSS": { + scale: 90 + }, + NativeMML: { + scale: 90 + }, + SVG: { + scale: 90 + }, + PreviewHTML: { + scale: 90 + } + } + return (Upgrade 'home' cores ({homeComputer.cpuCores} -> {homeComputer.cpuCores+1}) - } - + tooltip={} />); } diff --git a/src/Locations/ui/RamButton.tsx b/src/Locations/ui/RamButton.tsx index 34ba08939..3aa5834b2 100644 --- a/src/Locations/ui/RamButton.tsx +++ b/src/Locations/ui/RamButton.tsx @@ -12,6 +12,7 @@ import { purchaseRamForHomeComputer } from "../../Server/ServerPurchases"; import { StdButtonPurchased } from "../../ui/React/StdButtonPurchased"; import { StdButton } from "../../ui/React/StdButton"; import { Money } from "../../ui/React/Money"; +import { MathComponent } from 'mathjax-react'; type IProps = { p: IPlayer; @@ -45,5 +46,6 @@ export function RamButton(props: IProps): React.ReactElement { onClick={buy} style={btnStyle} text={<>Upgrade 'home' RAM ({homeComputer.maxRam}GB -> {homeComputer.maxRam*2}GB) - } + tooltip={} />); }