Further widget appearance tweaks
This commit is contained in:
parent
e98e82d4ec
commit
7534c7853e
|
@ -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 ?? "")
|
||||||
|
|
Loading…
Reference in New Issue