ui(chat): align status pill with send

This commit is contained in:
Peter Steinberger
2025-12-17 17:53:17 +01:00
parent 5b9e51bfaa
commit 9fe04f5659

View File

@@ -133,9 +133,10 @@ struct ClawdisChatComposer: View {
.overlay(alignment: .topLeading) {
self.editorOverlay
}
.overlay(alignment: .bottomTrailing) {
VStack(alignment: .trailing, spacing: 6) {
.overlay(alignment: .bottom) {
HStack(alignment: .bottom, spacing: 8) {
self.connectionPill
Spacer(minLength: 0)
self.sendButton
}
.padding(8)
@@ -177,12 +178,14 @@ struct ClawdisChatComposer: View {
.padding(.horizontal, 8)
.padding(.vertical, 5)
.padding(.trailing, 44)
.padding(.bottom, 28)
#else
TextEditor(text: self.$viewModel.input)
.font(.system(size: 15))
.scrollContentBackground(.hidden)
.padding(.horizontal, 8)
.padding(.vertical, 8)
.padding(.bottom, 28)
.focused(self.$isFocused)
#endif
}