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
4 changes: 3 additions & 1 deletion apps/web/src/components/chat/ComposerBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,9 @@ function Row({
"not-has-[>[data-slot=composer-banner-actions]]:grid-cols-[var(--composer-banner-icon-column)_minmax(0,1fr)]",
"[&:is(button)]:cursor-pointer [&:is(button)]:rounded-md [&:is(button)]:focus-visible:outline-2 [&:is(button)]:focus-visible:-outline-offset-2 [&:is(button)]:focus-visible:outline-ring",
// Actions share the title row while the title fits and move below it otherwise.
layout === "wrap-actions" && "flex flex-wrap *:data-[slot=composer-banner-content]:grow",
// The content's max width keeps it beside the icon, so a long title truncates instead of wrapping.
layout === "wrap-actions" &&
"flex flex-wrap *:data-[slot=composer-banner-content]:max-w-[calc(100%-var(--composer-banner-icon-column)-var(--spacing))] *:data-[slot=composer-banner-content]:grow",
Comment thread
coderabbitai[bot] marked this conversation as resolved.
layout === "approval" && "items-start gap-x-2 gap-y-3",
className,
),
Expand Down
Loading