Change alignment of autocomplete popper

This commit is contained in:
Snarling 2022-04-20 09:19:33 -04:00
parent 4ea7a4d7a8
commit 5898e27529

@ -401,7 +401,7 @@ export function TerminalInput({ terminal, router, player }: IProps): React.React
onKeyDown: onKeyDown, onKeyDown: onKeyDown,
}} }}
></TextField> ></TextField>
<Popper open={possibilities.length > 0} anchorEl={terminalInput.current} placement={"top-end"}> <Popper open={possibilities.length > 0} anchorEl={terminalInput.current} placement={"top-start"}>
<Paper sx={{ m: 1, p: 2 }}> <Paper sx={{ m: 1, p: 2 }}>
<Typography classes={{ root: classes.preformatted }} color={"primary"} paragraph={false}> <Typography classes={{ root: classes.preformatted }} color={"primary"} paragraph={false}>
Possible autocomplete candidates: Possible autocomplete candidates: