Skip to content

Copy buttons for commands are missed on mobile #1771

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    a11yRelated to accessibility and inclusionfrontFrontend, Designneeds discussionAn idea that needs more discussion to understand the scope and impact.

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions