From cfe7e6b49c41bc409c152292a330dc44c372e07d Mon Sep 17 00:00:00 2001 From: Philip Zeyliger Date: Sun, 8 Feb 2026 18:57:49 +0000 Subject: [PATCH] shelley: fix shell-mode indicator positioning in input bar Wrap textarea and shell-mode indicator (>_) in a .textarea-wrapper with position:relative so the indicator is anchored to the input field, not the outer container. Previously the indicator floated at the left edge of the full-width container, drifting away from the centered input on wide viewports. Prompt: The > thing should be in the input bar, not weirdly outside. It moves around depending on the width, and that's wrong. Co-authored-by: Shelley --- ui/src/components/MessageInput.tsx | 72 +++++++++++++++--------------- ui/src/styles.css | 13 ++++-- 2 files changed, 47 insertions(+), 38 deletions(-) diff --git a/ui/src/components/MessageInput.tsx b/ui/src/components/MessageInput.tsx index a414beccd5be8dbf0ddd33586b061a9ae6f272ae..8032f83518b5b59b32f6d008a078a0478ba627af 100644 --- a/ui/src/components/MessageInput.tsx +++ b/ui/src/components/MessageInput.tsx @@ -436,41 +436,43 @@ function MessageInput({ accept="image/*,video/*,audio/*,.pdf,.txt,.md,.json,.csv,.xml,.html,.css,.js,.ts,.tsx,.jsx,.py,.go,.rs,.java,.c,.cpp,.h,.hpp,.sh,.yaml,.yml,.toml,.sql,.log,*" aria-hidden="true" /> - {isShellMode && ( -
- - - - -
- )} -