diff --git a/svelte-ui/src/components/QLListItem.svelte b/svelte-ui/src/components/QLListItem.svelte index d770b80..0874919 100644 --- a/svelte-ui/src/components/QLListItem.svelte +++ b/svelte-ui/src/components/QLListItem.svelte @@ -12,6 +12,7 @@ let selected: boolean; let completed: boolean; + let deadline: boolean; function handleClick() { selectionStore.change("hash", project.id); @@ -19,10 +20,11 @@ $: selected = $selectionStore.hash === project.id; $: completed = !project.active; + $: deadline = !!project.endTime; -
+
@@ -52,6 +54,7 @@ color: #777; padding: 0.2em; + padding-top: 0.3em; padding-bottom: 0.05em; cursor: pointer; @@ -66,6 +69,9 @@ div.ql-list-item:hover { color: #ccc; } + div.ql-list-item.deadline { + padding-top: 0.275em; + } div.icon {