We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9360e48 commit 77e3e21Copy full SHA for 77e3e21
Sources/StreamChatSwiftUI/ChatChannel/MessageList/MessageContainerView.swift
@@ -225,7 +225,7 @@ public struct MessageContainerView<Factory: ViewFactory>: View {
225
}
226
227
private var contentWidth: CGFloat {
228
- let padding: CGFloat = 8
+ let padding: CGFloat = messageListConfig.messagePaddings.horizontal
229
let minimumWidth: CGFloat = 240
230
let available = max(minimumWidth, (width ?? 0) - spacerWidth) - 2 * padding
231
let avatarSize: CGFloat = CGSize.messageAvatarSize.width + padding
0 commit comments