Skip to content

Copy buttons for commands are missed on mobile #1771

@alex-key

Description

@alex-key

Describe the bug

On Package page each command has a "Copy" button next to it. It is visible on hover state for the desktop version. But it is missed on mobile devices since there is no hover state.

Steps to reproduce:

  • Use mobile device or emulator in your browser
  • Go to https://npmx.dev/package/nuxt#get-started
  • In section "GET STARTED" check no button is visible to copy commands
  • Still copied if you click on command, but it's not intuitive

Additional context

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11yRelated to accessibility and inclusionfrontFrontend, Designp2Priority 2 bug (medium)

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions