Resize text boxes so they dont stretch the entire display

This commit is contained in:
Ray 2023-12-27 12:14:28 +00:00 committed by GitHub
parent 6910d82698
commit 0c1b1c2726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

View File

@ -10,6 +10,7 @@ import { getFirestore,
import Form from 'react-bootstrap/Form';
import Button from 'react-bootstrap/Button';
import 'bootstrap/dist/css/bootstrap.min.css';
import Col from 'react-bootstrap/Col';
import './App.css'
@ -30,12 +31,14 @@ import { getFirestore,
return (
<Form>
<Form.Group>
<Col sm={2}></Col>
<Col sm={8}>
<Form.Label style={{ fontSize: '30px' }}>Enter submitter name:</Form.Label>
<Form.Control type="text"
placeholder="Name" />
<Form.Label style={{ fontSize: '30px' }}>Enter the date the shennanigans occurred (dd-mm-yyyy):</Form.Label>
<Form.Control type="text" placeholder="Date" />
<Form.Label style={{ fontSize: '30px' }}>Select the words used by ray</Form.Label>
<Form.Label style={{ fontSize: '30px' }}>Select the words used by ray:</Form.Label>
<Form.Check
type="checkbox"
label="poop"
@ -64,7 +67,13 @@ import { getFirestore,
checked={selectedOptions.includes('fart')}
onChange={handleCheckboxChange}
/>
</Col>
<Col sm={2}></Col>
</Form.Group>
<Button variant="primary" type="submit">
Submit
</Button>
</Form>
);
}