Improve <Task> textarea

This commit is contained in:
0x1eef 2024-04-21 00:53:03 -03:00
parent 702959b154
commit dee16f97f9
3 changed files with 5 additions and 4 deletions

View file

@ -52,6 +52,7 @@ form {
height: 75%;
border: none;
outline: none;
resize: none;
}
}

View file

@ -22,7 +22,7 @@ export function Tabs({ defaultLabel, labels, onChange }: Props) {
}, [active]);
return (
<ul className="flex w-3/4">
<ul className="flex w-full">
{...tabs.map(tab => {
const isActive = active?.id === tab.id;
const classNames = {

View file

@ -72,8 +72,8 @@ export function Task() {
<div className="w-1/4 pl-5">
<NavBar />
</div>
<div className="pt-5 w-full max-w-screen-lg">
<form className="h-full" onSubmit={handleSubmit(onSave)}>
<div className="pt-5 w-full max-w-screen-md">
<form className="h-full w-full" onSubmit={handleSubmit(onSave)}>
<input
type="hidden"
{...register("projectId", {
@ -81,7 +81,7 @@ export function Task() {
})}
/>
<input
className="p-3 flex w-3/4 mb-3 outline-none"
className="p-3 flex mb-3 outline-none w-full"
type="text"
placeholder="Title"
defaultValue={task?.title}