File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ const TaskDetails: React.FC<TaskDetailsProps> = ({
8484 { renderStatusIcon ( subtask . human_approval_status || subtask . status ) }
8585 </ div >
8686 < div className = "task-details-subtask-content" >
87- < span className = " task-details-subtask-name" > { description } </ span >
87+ < span className = { ` task-details-subtask-name ${ subtask . human_approval_status === "rejected" ? "strikethrough" : "" } ` } > { description } </ span >
8888 < div className = "task-details-subtask-actions" >
8989 { ( subtask . human_approval_status !== "accepted" && subtask . human_approval_status !== "rejected" ) && (
9090 < >
Original file line number Diff line number Diff line change 183183 padding : 4px ;
184184 border-radius : var (--borderRadiusSmall );
185185 transition : background-color 0.2s ease, color 0.2s ease;
186+ }
187+
188+ .strikethrough {
189+ text-decoration : line-through;
186190}
You can’t perform that action at this time.
0 commit comments