Update Task.tsx

This commit is contained in:
0x1eef 2024-03-30 05:53:16 -03:00
parent 04607a7b7e
commit f207b764c0
2 changed files with 10 additions and 2 deletions

View file

@ -51,6 +51,14 @@ body {
}
}
form {
textarea {
height: 75%;
border: none;
outline: none;
}
}
.markdown {
ul {
all:unset;

View file

@ -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 })}
/>