Update container shape of the File TimelineItem's icon. (#5288)
* Change corner radius of icon container From round to 4px * Update snapshots.
This commit is contained in:
@@ -93,7 +93,8 @@ struct MediaFileRoomTimelineContent: View {
|
||||
CompoundIcon(icon, size: .xSmall, relativeTo: .body)
|
||||
.foregroundColor(.compound.iconPrimary)
|
||||
.scaledPadding(8)
|
||||
.background(.compound.iconOnSolidPrimary, in: Circle())
|
||||
.background(.compound.iconOnSolidPrimary,
|
||||
in: RoundedRectangle(cornerRadius: 4, style: .continuous))
|
||||
}
|
||||
.labelStyle(.custom(spacing: 8, alignment: .center))
|
||||
.padding(.horizontal, 4) // Add to the styler's padding of 8, as we use the default insets for the caption.
|
||||
|
||||
Reference in New Issue
Block a user