fix: add bottom padding to macos web chat

This commit is contained in:
Peter Steinberger
2026-01-01 13:20:27 +01:00
parent 5b33a7dcbe
commit 0a4c2f91f5

View File

@@ -24,7 +24,7 @@ public struct ClawdisChatView: View {
static let stackSpacing: CGFloat = 0
static let messageSpacing: CGFloat = 6
static let messageListPaddingTop: CGFloat = 0
static let messageListPaddingBottom: CGFloat = 4
static let messageListPaddingBottom: CGFloat = 16
static let messageListPaddingHorizontal: CGFloat = 6
#else
static let outerPaddingHorizontal: CGFloat = 6
@@ -86,7 +86,7 @@ public struct ClawdisChatView: View {
}
Color.clear
.frame(height: 0)
.frame(height: Layout.messageListPaddingBottom)
.id(self.scrollerBottomID)
}
// Use scroll targets for stable auto-scroll without ScrollViewReader relayout glitches.