Fix timestamp padding for .horizontal bubble layout style (#1704)

This commit is contained in:
Nicolas Mauri 2023-09-13 19:00:07 +02:00 committed by GitHub
parent 9fbf70282e
commit 21856e994a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -186,13 +186,9 @@ struct TimelineItemBubbledStylerView<Content: View>: View {
.cornerRadius(10)
.padding(.trailing, 4)
.padding(.bottom, 4)
case .overlay(capsuleStyle: false):
case .horizontal, .overlay(capsuleStyle: false):
localizedSendInfo
.padding(.bottom, -4)
case .horizontal:
localizedSendInfo
.padding(.bottom, 4)
.padding(.trailing, 4)
case .vertical:
GridRow {
localizedSendInfo