Closed StephMode closed 1 week ago
- [ ] improve styling of form and editor comps as much as needed
<label htmlFor="color-role-input">Role</label>
<input id="color-role-input" name="role" type="text"></input>
misalignment on FE in form might be due to the <input>
not being nested withinin <label>
.
👍🏻 worked.
Now:
.color-form--form
.color-form--label
to align the items horizontally
Briefing
The jsx and css in these components need to be refactored. I'm going to focus on cleaning up the
return
statements of the Comps for now and leave the logic as is. The logic will be refined at a later stage.Example
ColorForm.jsx
Issues
<fieldset>
and<legend>
<label>
should have text-content<input>
has superflous props likeplaceholder
or commented out codeTasks