fix design bug in description task
This commit is contained in:
@@ -54,7 +54,7 @@ const CommentList: FC<Props> = ({ taskId, enabled = true }) => {
|
|||||||
onChange={(e) => setContent(e.target.value)}
|
onChange={(e) => setContent(e.target.value)}
|
||||||
placeholder={t("taskmanager.task_detail.comment_placeholder")}
|
placeholder={t("taskmanager.task_detail.comment_placeholder")}
|
||||||
rows={3}
|
rows={3}
|
||||||
className="w-full bg-transparent rounded-xl px-4 pt-4 pb-3 text-xs outline-none resize-none placeholder:text-description"
|
className="w-full bg-transparent rounded-xl px-4 pt-4 pb-3 pl-20 text-xs outline-none resize-none placeholder:text-description"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -65,7 +65,11 @@ const CommentList: FC<Props> = ({ taskId, enabled = true }) => {
|
|||||||
) : (
|
) : (
|
||||||
<div className="mt-3 flex flex-col gap-2">
|
<div className="mt-3 flex flex-col gap-2">
|
||||||
{comments.map((comment) => (
|
{comments.map((comment) => (
|
||||||
<CommentItem key={comment.id} comment={comment} taskId={taskId} />
|
<CommentItem
|
||||||
|
key={comment.id}
|
||||||
|
comment={comment}
|
||||||
|
taskId={taskId}
|
||||||
|
/>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user