reorganize styles and pages (wip); update readme

This commit is contained in:
gingervitis
2021-01-27 01:46:08 -08:00
parent 8ddd780281
commit ff51c168ff
12 changed files with 254 additions and 146 deletions

View File

@@ -155,10 +155,9 @@ export default function TextField(props: TextFieldProps) {
return (
<div className={`textfield-container type-${type}`}>
<div className="textfield-label">{label}</div>
<div className="textfield">
<InfoTip tip={tip} />
<Form.Item
label={label}
name={fieldName}
hasFeedback
validateStatus={submitStatus}
@@ -176,8 +175,8 @@ export default function TextField(props: TextFieldProps) {
{...fieldProps}
/>
</Form.Item>
</div>
<InfoTip tip={tip} />
{ hasChanged ? <Button type="primary" size="small" className="submit-button" onClick={handleSubmit}>Update</Button> : null }