Skip to content

Hide ⌘K shortcut hint on mobile#100

Merged
brunoborges merged 2 commits intomainfrom
copilot/hide-keyboard-key-mobile
Feb 26, 2026
Merged

Hide ⌘K shortcut hint on mobile#100
brunoborges merged 2 commits intomainfrom
copilot/hide-keyboard-key-mobile

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 26, 2026

Keyboard shortcuts are irrelevant on touch devices — the ⌘K badge in the search trigger bar shouldn't be shown to mobile users.

Change

  • site/styles.css — hides .cmd-bar kbd within the existing @media (max-width: 700px) breakpoint:
@media (max-width: 700px) {
  /* ... existing rules ... */
  .cmd-bar kbd {
    display: none;
  }
}

The search bar remains fully functional; only the shortcut hint is suppressed.

Original prompt

This section details on the original issue you should resolve

<issue_title>[Feature] Hide keyboard key to search, when on mobile</issue_title>
<issue_description>### Describe the feature

When on mobile, didn't make sense to show the CMD+K key shortcut

Why would this be useful?

No response

Alternatives considered

No response</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: brunoborges <129743+brunoborges@users.noreply.github.com>
Copilot AI changed the title [WIP] Hide CMD+K key shortcut on mobile devices Hide ⌘K shortcut hint on mobile Feb 26, 2026
@brunoborges brunoborges marked this pull request as ready for review February 26, 2026 07:02
@brunoborges brunoborges merged commit 66b9b3f into main Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Hide keyboard key to search, when on mobile

2 participants