1
0

Fetch citations

This commit is contained in:
2024-10-27 03:55:29 +02:00
parent 95b27b202c
commit 1dbb712d7b
9 changed files with 104 additions and 14 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { } from 'react'
export function EnumSelect({ name, entries, defaultValue }: { name: string; entries: Record<string, string>, defaultValue?: string }): JSX.Element {
return (
<select id={name} name={name} defaultValue={defaultValue}>
<select id={name} name={name} defaultValue={defaultValue} className="w-full">
{Object.entries(entries).map(([v, name]) => <option key={v} value={v}>{name}</option>)}
</select>
);
+1 -1
View File
@@ -18,7 +18,7 @@ export function TaskForm({ createTask }: { createTask: (t: Record<string, FormDa
<div>
<label htmlFor="title">Pavadinimas</label>
<div className="mt-2">
<input type="text" id="title" name="title" className="" />
<input type="text" id="title" name="title" className="w-full" />
</div>
</div>
<div>
+1 -1
View File
@@ -52,7 +52,7 @@ export function TaskRow({ task, updateTask, deleteTask, swapTasks }: TaskProps &
}}
>
<div className="td">
<svg className="w-5 h-5 stroke-neutral-200" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<svg className="w-5 h-5 stroke-neutral-800 dark:stroke-neutral-200" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M21 10L3 10M21 14L3 14M12 4L12 10M12 14L12 20M15 18L12 21L9 18M15 6L12 3L9 6" strokeWidth="1" strokeLinecap="round" strokeLinejoin="round"></path>
</svg>
</div>