diff --git a/src/components/RegForm.scss b/src/components/RegForm.scss index 0121490..c7350fb 100644 --- a/src/components/RegForm.scss +++ b/src/components/RegForm.scss @@ -35,10 +35,23 @@ form#registration { label, span { font-size: 1.3rem; + height: unset; } .ant-form-item { width: 100%; + .ant-form-item-label { + width: 100%; + text-align: left; + } + + .ant-select-arrow svg { + padding-bottom: 7px; + } + + .anticon-close svg { + padding-top: 3px; + } } } diff --git a/src/components/RegForm.tsx b/src/components/RegForm.tsx index 2cede5d..4746937 100644 --- a/src/components/RegForm.tsx +++ b/src/components/RegForm.tsx @@ -1,4 +1,5 @@ import { Button, Form, Input, Select } from 'antd'; +import { CloseCircleOutlined } from '@ant-design/icons'; import { useParams } from 'react-router'; import './RegForm.scss'; @@ -18,7 +19,7 @@ interface FormValues { visitors: Visitor[]; } -const preferences = ['vegan', 'vegetarian', 'murder'].map((preference) => { +const preferences = ['vegan', 'vegetarian', 'everything'].map((preference) => { return (