Make project smaller
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing

This commit is contained in:
Kasper Juul Hermansen 2021-11-15 17:03:12 +01:00
parent 0466af0637
commit 9a366ee503
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -12,10 +12,10 @@ export const TodoItem: FC<TodoItemProps> = (props) => (
<div className="py-3 border-b border-gray-300 dark:border-gray-600">
<div className="flex items-center space-x-4">
<TodoCheckmark {...props} />
<div className="flex flex-row flex-grow gap-2 pr-6">
<div className="flex flex-col md:flex-row flex-grow gap-0.5 md:gap-2 pr-6">
<div className="flex-grow w-full break-all">{props.todo.title}</div>
{props.displayProject && props.todo.project && (
<div className="text-gray-500 text-right whitespace-nowrap">
<div className="text-gray-500 text-xs text-right whitespace-nowrap place-self-end">
{props.todo.project}
</div>
)}