Further widget appearance tweaks

This commit is contained in:
Shadowfacts 2023-09-26 10:19:31 -04:00
parent e98e82d4ec
commit 7534c7853e
1 changed files with 4 additions and 2 deletions

View File

@ -168,8 +168,10 @@ struct ItemListEntryView: View {
.foregroundColor(.red) .foregroundColor(.red)
Spacer() Spacer()
if let published = item.published { if let published = item.published {
Text(published, format: .relative(presentation: .numeric, unitsStyle: .narrow)) Text(published, style: .relative)
.font(.caption) .font(.caption.width(.condensed))
.multilineTextAlignment(.trailing)
.layoutPriority(-1)
} }
} }
Text(verbatim: item.title ?? "") Text(verbatim: item.title ?? "")