fix: add top padding before first chat message

This commit is contained in:
Peter Steinberger
2026-01-02 10:23:40 +01:00
parent 9adbf47773
commit d2e2077ada
2 changed files with 3 additions and 2 deletions

View File

@@ -37,6 +37,7 @@
### Fixes
- Chat UI: keep the chat scrolled to the latest message after switching sessions.
- Chat UI: add extra top padding before the first message bubble in Web Chat (macOS/iOS/Android).
- WebChat: stream live updates for sessions even when runs start outside the chat UI.
- Gateway CLI: read `CLAWDIS_GATEWAY_PASSWORD` from environment in `callGateway()` — allows `doctor`/`health` commands to auth without explicit `--password` flag.
- Auto-reply: strip stray leading/trailing `HEARTBEAT_OK` from normal replies; drop short (≤ 30 chars) heartbeat acks.

View File

@@ -23,7 +23,7 @@ public struct ClawdisChatView: View {
static let composerPaddingHorizontal: CGFloat = 0
static let stackSpacing: CGFloat = 0
static let messageSpacing: CGFloat = 6
static let messageListPaddingTop: CGFloat = 0
static let messageListPaddingTop: CGFloat = 12
static let messageListPaddingBottom: CGFloat = 16
static let messageListPaddingHorizontal: CGFloat = 6
#else
@@ -32,7 +32,7 @@ public struct ClawdisChatView: View {
static let composerPaddingHorizontal: CGFloat = 6
static let stackSpacing: CGFloat = 6
static let messageSpacing: CGFloat = 12
static let messageListPaddingTop: CGFloat = 4
static let messageListPaddingTop: CGFloat = 10
static let messageListPaddingBottom: CGFloat = 6
static let messageListPaddingHorizontal: CGFloat = 8
#endif