Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/web/src/components/chat/ChatComposer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3464,7 +3464,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps)
<div
data-chat-composer-footer="true"
className={cn(
"flex min-w-0 flex-nowrap items-center overflow-visible px-2 pb-2",
"relative flex min-w-0 flex-nowrap items-center overflow-visible px-2 pb-2",
pendingUserInputs.length > 0 && "pt-2",
showMobilePendingAnswerActions && "hidden sm:flex",
)}
Expand Down
5 changes: 3 additions & 2 deletions apps/web/src/components/chat/ComposerDictationButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,13 @@ export function ComposerDictationButton(props: {
.join(" · ");

return (
<div className="relative flex items-center">
<div className="flex items-center">
{status !== null || notice !== null ? (
// Positioned against the composer footer, so it stays inside the composer at any width.
<div
role="status"
aria-live="polite"
className="pointer-events-none absolute right-0 bottom-full z-20 mb-3 w-max max-w-[min(32rem,80vw)] rounded-lg border border-border bg-popover px-3 py-2 text-sm shadow-md"
className="pointer-events-none absolute start-2 bottom-full z-20 mb-3 w-max max-w-[min(32rem,calc(100%-1rem))] rounded-lg border border-border bg-popover px-3 py-2 text-sm shadow-md"
>
{status !== null ? (
<>
Expand Down
Loading