fix: align focus item columns with fixed-width due date placeholder
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -43,6 +43,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
{% if item.task_id %}
|
{% if item.task_id %}
|
||||||
|
<span class="focus-meta" style="width:72px;min-width:72px;flex-shrink:0;">{{ item.due_date if item.due_date else ' '|safe }}</span>
|
||||||
<span class="priority-dot priority-{{ item.priority }}"></span>
|
<span class="priority-dot priority-{{ item.priority }}"></span>
|
||||||
{% if item.title %}
|
{% if item.title %}
|
||||||
<a href="/tasks/{{ item.task_id }}" class="focus-title">{{ item.title }}</a>
|
<a href="/tasks/{{ item.task_id }}" class="focus-title">{{ item.title }}</a>
|
||||||
@@ -50,7 +51,6 @@
|
|||||||
<span class="focus-title" style="color:var(--muted)">[Deleted]</span>
|
<span class="focus-title" style="color:var(--muted)">[Deleted]</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if item.estimated_minutes %}<span class="focus-meta">~{{ item.estimated_minutes }}min</span>{% endif %}
|
{% if item.estimated_minutes %}<span class="focus-meta">~{{ item.estimated_minutes }}min</span>{% endif %}
|
||||||
{% if item.due_date %}<span class="focus-meta">{{ item.due_date }}</span>{% endif %}
|
|
||||||
{% elif item.list_item_id %}
|
{% elif item.list_item_id %}
|
||||||
<span style="color:var(--muted);font-size:0.85rem;margin-right:4px">☰</span>
|
<span style="color:var(--muted);font-size:0.85rem;margin-right:4px">☰</span>
|
||||||
{% if item.list_item_content %}
|
{% if item.list_item_content %}
|
||||||
|
|||||||
Reference in New Issue
Block a user