Skip to content

KeybindingHint component styling doesn’t match global <kbd> element styling #5125

@dylanatsmith

Description

@dylanatsmith

Description

The <kbd> element has a lil shadow/border that looks keycappy, while the <kbd> element output by KeybindingHint just has a border.

Screen.Recording.2024-10-15.at.16.28.35.mov

Steps to reproduce

  1. Compare any <kbd> element with any rendered <KeybindingHint> element

Note: I’m flagged into the CSS modules staff ship

Version

Latest in dotcom

Browser

Firefox

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingreact

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions