mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-23 08:03:48 +01:00
Prevent FactionRoot options from extending beyond the window
This commit is contained in:
parent
6018f2280d
commit
a954095519
@ -77,7 +77,7 @@ export function DonateOption(props: IProps): React.ReactElement {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Paper sx={{ my: 1, p: 1, width: "100%" }}>
|
<Paper sx={{ my: 1, p: 1 }}>
|
||||||
<Status />
|
<Status />
|
||||||
{props.disabled ? (
|
{props.disabled ? (
|
||||||
<Typography>
|
<Typography>
|
||||||
|
@ -19,7 +19,7 @@ type IProps = {
|
|||||||
export function Option(props: IProps): React.ReactElement {
|
export function Option(props: IProps): React.ReactElement {
|
||||||
return (
|
return (
|
||||||
<Box>
|
<Box>
|
||||||
<Paper sx={{ my: 1, p: 1, width: "100%" }}>
|
<Paper sx={{ my: 1, p: 1 }}>
|
||||||
<Button onClick={props.onClick}>{props.buttonText}</Button>
|
<Button onClick={props.onClick}>{props.buttonText}</Button>
|
||||||
<Typography>{props.infoText}</Typography>
|
<Typography>{props.infoText}</Typography>
|
||||||
</Paper>
|
</Paper>
|
||||||
|
Loading…
Reference in New Issue
Block a user