Skip to content
Merged
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
10 changes: 8 additions & 2 deletions apps/web/src/components/chat/RoomAgentsBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,15 @@ export const RoomAgentsBar = memo(function RoomAgentsBar(props: {
return (
<div
data-room-agents-bar="true"
className="flex shrink-0 items-center gap-1 overflow-x-auto border-b border-border px-1.5 py-1.5 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden"
className="flex shrink-0 items-start gap-1 border-b border-border px-1.5 py-1.5"
>
<div role="radiogroup" aria-label="Send to" className="flex min-w-0 items-center gap-1">
{/* Pills wrap onto more lines rather than scroll: every agent stays in
view, and "+" keeps its place at the end of the first line. */}
<div
role="radiogroup"
aria-label="Send to"
className="flex min-w-0 flex-1 flex-wrap items-center gap-1"
>
{agents.rows.map((row, index) => {
const selected = !props.adding && row.id === agents.recipient.id;
// One tab stop for the group: the picked pill, or the first while adding.
Expand Down
Loading