tweak vertical aligns in quest log list to look more centered.
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-02-07 13:51:18 +01:00
parent caad8172b2
commit 35b5a5e3df
+7 -1
View File
@@ -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;
</script>
<StatusColor affects="project" entry={project} selected={selected}>
<div class="ql-list-item" on:click={handleClick} class:selected>
<div class="ql-list-item" on:click={handleClick} class:selected class:deadline={deadline}>
<div class="icon sccfg" class:completed>
<Icon block name={project.icon} />
</div>
@@ -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 {