Skip to content

[Code Block Component]: copy button alignment is broken #4551

@defymecobra

Description

@defymecobra

Description

The "Copy to clipboard" button inside the code block components is misaligned. As seen on the Installation page (e.g., under the "Run" and "Update" sections), the copy icon appears to be pushed down or incorrectly positioned within its container, causing visual clipping and a broken layout.

Expected Behavior

The copy button should be perfectly centered vertically and properly padded within the right side of the code block.

Steps to Reproduce

  1. Navigate to the Installation page.
  2. Scroll down to the Run or Update section.
  3. Observe the copy button inside the code blocks.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions