Added placeholders

This commit is contained in:
Kristoffer Juelsenn 2022-03-28 15:36:35 +02:00
parent cfe57274dd
commit 9b3147a092
2 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@ function TournamentForm(props) {
return (
<>
<form>
<Stack sx={{minHeight: "30vh", margin: "10px auto"}} direction="column" justifyContent="center" spacing={4} align="center">
<Stack sx={{minHeight: "30vh", margin: "10px auto"}} direction="column" justifyContent="center" spacing={3} align="center">
{/* <InputLabel htmlFor="nameInput">Tournament Name: </InputLabel> */}
<TextField type="text" id="nameInput" label="Tournament Name" placeholder="Tournament Name" InputLabelProps={{shrink: true}}/>
{/* <InputLabel htmlFor="descriptionInput">Description: </InputLabel */}

View File

@ -96,9 +96,9 @@ function ManageTournament(props) {
<form>
<Stack sx={{minHeight: "30vh", margin: "10px auto"}} direction="column" justifyContent="center" spacing={2} align="center">
{/* <InputLabel htmlFor="editName">Edit name: </InputLabel> */}
<TextField type="text" id="editName" label="Edit Name:" InputLabelProps={{shrink: true}}/>
<TextField type="text" id="editName" label="Edit Name:" placeholder="Edit Name" InputLabelProps={{shrink: true}}/>
{/* <InputLabel htmlFor="editDesc">Edit description: </InputLabel> */}
<TextField type="text" id="editDesc" label="Edit Description:" InputLabelProps={{shrink: true}} />
<TextField type="text" id="editDesc" label="Edit Description:" placeholder="Edit Description" InputLabelProps={{shrink: true}} />
<Box sx={{ flexGrow: 1 }}>
<Grid container spacing={-20} justifyContent="center">