Skip to content

Click-to-copy button adds extra vertical space to top of code-block #1548

@chalin

Description

@chalin

Consider the code block from https://www.docsy.dev/docs/adding-content/lookandfeel/#site-colors:

image

Notice the extra vertical space, which is evident under dev tools:

image

We should avoid the extra space.

/cc @geriom

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions