fix: add top padding before first chat message
This commit is contained in:
@@ -37,6 +37,7 @@
|
|||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
- Chat UI: keep the chat scrolled to the latest message after switching sessions.
|
- 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.
|
- 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.
|
- 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.
|
- Auto-reply: strip stray leading/trailing `HEARTBEAT_OK` from normal replies; drop short (≤ 30 chars) heartbeat acks.
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ public struct ClawdisChatView: View {
|
|||||||
static let composerPaddingHorizontal: CGFloat = 0
|
static let composerPaddingHorizontal: CGFloat = 0
|
||||||
static let stackSpacing: CGFloat = 0
|
static let stackSpacing: CGFloat = 0
|
||||||
static let messageSpacing: CGFloat = 6
|
static let messageSpacing: CGFloat = 6
|
||||||
static let messageListPaddingTop: CGFloat = 0
|
static let messageListPaddingTop: CGFloat = 12
|
||||||
static let messageListPaddingBottom: CGFloat = 16
|
static let messageListPaddingBottom: CGFloat = 16
|
||||||
static let messageListPaddingHorizontal: CGFloat = 6
|
static let messageListPaddingHorizontal: CGFloat = 6
|
||||||
#else
|
#else
|
||||||
@@ -32,7 +32,7 @@ public struct ClawdisChatView: View {
|
|||||||
static let composerPaddingHorizontal: CGFloat = 6
|
static let composerPaddingHorizontal: CGFloat = 6
|
||||||
static let stackSpacing: CGFloat = 6
|
static let stackSpacing: CGFloat = 6
|
||||||
static let messageSpacing: CGFloat = 12
|
static let messageSpacing: CGFloat = 12
|
||||||
static let messageListPaddingTop: CGFloat = 4
|
static let messageListPaddingTop: CGFloat = 10
|
||||||
static let messageListPaddingBottom: CGFloat = 6
|
static let messageListPaddingBottom: CGFloat = 6
|
||||||
static let messageListPaddingHorizontal: CGFloat = 8
|
static let messageListPaddingHorizontal: CGFloat = 8
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user