mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
style(composer): rebalance activity pill spacing
- Tighten avatar-to-label gap inside each working-agent pill (gap-2 -> gap-1.5) - Widen the gap between strip items (pills + typing indicator) for clearer separation (gap-1.5 -> gap-3) Co-authored-by: Taylor Ho <taylorkmho@gmail.com> Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
This commit is contained in:
@@ -335,7 +335,7 @@ function BotActivityAgentPill({
|
||||
<PopoverTrigger asChild>
|
||||
<button
|
||||
aria-label={`${agent.name} is working. View activity.`}
|
||||
className="inline-flex h-7 min-w-0 max-w-50 items-center gap-2 rounded-full text-xs font-medium leading-none text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring data-[state=open]:text-primary"
|
||||
className="inline-flex h-7 min-w-0 max-w-50 items-center gap-1.5 rounded-full text-xs font-medium leading-none text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring data-[state=open]:text-primary"
|
||||
data-testid="bot-activity-composer-trigger"
|
||||
onBlur={hover.scheduleClose}
|
||||
onClick={(event) => {
|
||||
@@ -615,7 +615,7 @@ export function BotActivityComposerAction({
|
||||
// instead gets min-w-0 so it can shrink with the container
|
||||
// (shrinkToFit) rather than overflow into scroll.
|
||||
className={cn(
|
||||
"flex items-center gap-1.5",
|
||||
"flex items-center gap-3",
|
||||
itemCount === 1 ? "min-w-0" : "min-w-max",
|
||||
)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user