@@ -107,7 +107,9 @@ const EditTaskModal = ({
107107 < div className = "modal" >
108108 < form className = "modal-form" onSubmit = { handleFormSubmit } >
109109 < h2 className = "modal-title" > Edit Task</ h2 >
110- < label htmlFor = "taskname" > Task Name: </ label >
110+ < label htmlFor = "taskname" className = "modal-label" >
111+ Task Name:{ " " }
112+ </ label >
111113 < input
112114 className = "modal-input"
113115 name = "taskname"
@@ -116,46 +118,69 @@ const EditTaskModal = ({
116118 onChange = { handleInputChange }
117119 required
118120 />
119- < label htmlFor = "modal-radio" > Task Status: </ label >
121+ < label htmlFor = "modal-radio" className = "modal-label" >
122+ Task Status:{ " " }
123+ </ label >
120124 < div className = "modal-radio" >
121- < input
122- type = "radio"
123- name = "status"
124- id = "backlog"
125- value = { "backlog" }
126- onChange = { handleInputChange }
127- defaultChecked = { task . status === "backlog" }
128- />
129- < label htmlFor = "backlog" > Backlog</ label >
130- < input
131- type = "radio"
132- name = "status"
133- id = "in-progress"
134- value = { "inProgress" }
135- onChange = { handleInputChange }
136- defaultChecked = { task . status === "inProgress" }
137- />
138- < label htmlFor = "in-progress" > In Progress</ label >
139- < input
140- type = "radio"
141- name = "status"
142- id = "in-review"
143- value = { "inReview" }
144- onChange = { handleInputChange }
145- defaultChecked = { task . status === "inReview" }
146- />
147- < label htmlFor = "in-review" > In Review</ label >
148- < input
149- type = "radio"
150- name = "status"
151- id = "completed"
152- value = { "completed" }
153- onChange = { handleInputChange }
154- defaultChecked = { task . status === "completed" }
155- />
156- < label htmlFor = "completed" > Completed</ label >
125+ < div className = "modal-radio-pair" >
126+ < input
127+ type = "radio"
128+ name = "status"
129+ id = "backlog"
130+ value = { "backlog" }
131+ onChange = { handleInputChange }
132+ defaultChecked = { task . status === "backlog" }
133+ />
134+ < label htmlFor = "backlog" className = "modal-option" >
135+ Backlog
136+ </ label >
137+ </ div >
138+
139+ < div className = "modal-radio-pair" >
140+ < input
141+ type = "radio"
142+ name = "status"
143+ id = "in-progress"
144+ value = { "inProgress" }
145+ onChange = { handleInputChange }
146+ defaultChecked = { task . status === "inProgress" }
147+ />
148+ < label htmlFor = "in-progress" className = "modal-option" >
149+ In Progress
150+ </ label >
151+ </ div >
152+
153+ < div className = "modal-radio-pair" >
154+ < input
155+ type = "radio"
156+ name = "status"
157+ id = "in-review"
158+ value = { "inReview" }
159+ onChange = { handleInputChange }
160+ defaultChecked = { task . status === "inReview" }
161+ />
162+ < label htmlFor = "in-review" className = "modal-option" >
163+ In Review
164+ </ label >
165+ </ div >
166+
167+ < div className = "modal-radio-pair" >
168+ < input
169+ type = "radio"
170+ name = "status"
171+ id = "completed"
172+ value = { "completed" }
173+ onChange = { handleInputChange }
174+ defaultChecked = { task . status === "completed" }
175+ />
176+ < label htmlFor = "completed" className = "modal-option" >
177+ Completed
178+ </ label >
179+ </ div >
157180 </ div >
158- < label htmlFor = "tasknotes" > Task Notes: </ label >
181+ < label htmlFor = "tasknotes" className = "modal-label" >
182+ Task Notes:{ " " }
183+ </ label >
159184 < textarea
160185 className = "modal-input text"
161186 name = "tasknotes"
0 commit comments