Prevent FactionRoot options from extending beyond the window

This commit is contained in:
nickofolas 2022-01-21 16:15:41 -06:00
parent 6018f2280d
commit a954095519
2 changed files with 2 additions and 2 deletions

@ -77,7 +77,7 @@ export function DonateOption(props: IProps): React.ReactElement {
}
return (
<Paper sx={{ my: 1, p: 1, width: "100%" }}>
<Paper sx={{ my: 1, p: 1 }}>
<Status />
{props.disabled ? (
<Typography>

@ -19,7 +19,7 @@ type IProps = {
export function Option(props: IProps): React.ReactElement {
return (
<Box>
<Paper sx={{ my: 1, p: 1, width: "100%" }}>
<Paper sx={{ my: 1, p: 1 }}>
<Button onClick={props.onClick}>{props.buttonText}</Button>
<Typography>{props.infoText}</Typography>
</Paper>