Skip to content

Better alignment of the "Copy to clipboard" icon #16292

Description

@IgorMinar

Currently we vertically align the "copy to clipboard" to the center of code snippet:

screen shot 2017-04-25 at 1 33 49 am

This looks unusual to me. We could either move it up:

screen shot 2017-04-25 at 1 33 49 am

Which I'm afraid won't look much better. Or we could move it top-right corner, where it originally was. But in order for the icon not to be too far away from the code, we should constrain the width of the content and center it. Maybe something along the lines of this:

screen shot 2017-04-25 at 2 04 27 am

@sjtrimble how did we end up with the icon on the left? was there a reason for it?

Metadata

Metadata

Assignees

No one assigned

    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