From 1c2279664cd98b4b193f5f060d0bc7d2d48eafab Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 3 Mar 2026 01:54:02 +0000 Subject: [PATCH] feat: consistent compact density across all list views - Reduce capture-item, files table, date group labels to 6px 12px padding - Set font-size 0.80rem on capture-text, file table cells Co-Authored-By: Claude Opus 4.6 --- static/style.css | 6 +++--- templates/appointments.html | 2 +- templates/files.html | 24 ++++++++++++------------ templates/time_entries.html | 2 +- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/static/style.css b/static/style.css index b1cd4ff..7ab27fe 100644 --- a/static/style.css +++ b/static/style.css @@ -793,8 +793,8 @@ a:hover { color: var(--accent-hover); } .capture-item { display: flex; align-items: flex-start; - gap: 12px; - padding: 12px; + gap: 8px; + padding: 6px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); @@ -803,7 +803,7 @@ a:hover { color: var(--accent-hover); } .capture-text { flex: 1; - font-size: 0.92rem; + font-size: 0.80rem; } .capture-actions { diff --git a/templates/appointments.html b/templates/appointments.html index 34a7434..18beacc 100644 --- a/templates/appointments.html +++ b/templates/appointments.html @@ -22,7 +22,7 @@ {% set appt_date = appt.start_at.strftime('%A, %B %-d, %Y') if appt.start_at else 'No Date' %} {% if appt_date != current_date.value %} {% if not loop.first %}{% endif %} -
+
{{ appt_date }}
diff --git a/templates/files.html b/templates/files.html index 319c2b5..a04777f 100644 --- a/templates/files.html +++ b/templates/files.html @@ -67,43 +67,43 @@ - - - - - + + - + {% for item in items %} - - + - - - -
+ Path {{ '▲' if current_sort == 'path' else ('▼' if current_sort == 'path_desc' else '') }} + Name {{ '▲' if current_sort == 'name' else ('▼' if current_sort == 'name_desc' else '') }} TypeSize + TypeSize Date {{ '▼' if current_sort == 'date' else ('▲' if current_sort == 'date_asc' else '') }}
{{ item.folder }} + {{ item.folder }} {{ item.original_filename }} + {% if item.mime_type %}{{ item.mime_type.split('/')|last }}{% endif %} + {% if item.size_bytes %}{{ "%.1f"|format(item.size_bytes / 1024) }} KB{% endif %} + {{ item.created_at.strftime('%Y-%m-%d') if item.created_at else '' }} + Download
diff --git a/templates/time_entries.html b/templates/time_entries.html index 6583b42..b5b24e1 100644 --- a/templates/time_entries.html +++ b/templates/time_entries.html @@ -67,7 +67,7 @@ {% for entry in entries %} {% set entry_date = entry.start_at.strftime('%A, %B %-d') if entry.start_at else 'Unknown' %} {% if entry_date != current_date.value %} -
+
{{ entry_date }}
{% set current_date.value = entry_date %}