Update Task.tsx
This commit is contained in:
parent
04607a7b7e
commit
f207b764c0
2 changed files with 10 additions and 2 deletions
|
@ -51,6 +51,14 @@ body {
|
|||
}
|
||||
}
|
||||
|
||||
form {
|
||||
textarea {
|
||||
height: 75%;
|
||||
border: none;
|
||||
outline: none;
|
||||
}
|
||||
}
|
||||
|
||||
.markdown {
|
||||
ul {
|
||||
all:unset;
|
||||
|
|
|
@ -73,7 +73,7 @@ export function Task() {
|
|||
<NavBar />
|
||||
</div>
|
||||
<div className="w-3/4">
|
||||
<form onSubmit={handleSubmit(onSave)}>
|
||||
<form className="h-full" onSubmit={handleSubmit(onSave)}>
|
||||
<input
|
||||
type="hidden"
|
||||
{...register("projectId", {
|
||||
|
@ -97,7 +97,7 @@ export function Task() {
|
|||
{isEditable ? (
|
||||
<>
|
||||
<textarea
|
||||
className="p-3 h-72 flex w-3/4 mb-3"
|
||||
className="p-3 flex w-3/4 mb-3"
|
||||
defaultValue={task?.content || DEFAULT_TASK_CONTENT}
|
||||
{...register("content", { required: true })}
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue