Skip to content

Copy button overlaps Agent response (code/copy blocks) #52064

@anaslimem

Description

@anaslimem

Reproduction steps

  1. Start Zed.
  2. Open the Agent panel.
  3. Ask the agent for a response that includes a code block or copyable text.
  4. Observe the copy button placement.

Current vs. Expected behavior

Current behavior: The copy button overlaps the agent response content.

Image

Expected behavior: The copy button should not overlap content it should be placed with sufficient spacing or in a non-overlapping position.

Zed version and system specs

Zed: 0.228.0
OS: macOS 26.3.1 (a)
Memory: 32 GiB
Architecture: arm64

Attach Zed log file

Zed.log

Relevant Zed settings

settings.json

Relevant Keymap

keymap.json

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

Labels

area:ai/agent threadfrequency:commonBugs that happen for at least a third of the users across all platforms and kinds of usagepriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduce

Type

No fields configured for Bug.

Projects

Status

Bug Bashers

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions