Title: Hide ⌘K shortcut hint on mobile by Copilot · Pull Request #100 · javaevolved/javaevolved.github.io · GitHub
Open Graph Title: Hide ⌘K shortcut hint on mobile by Copilot · Pull Request #100 · javaevolved/javaevolved.github.io
X Title: Hide ⌘K shortcut hint on mobile by Copilot · Pull Request #100 · javaevolved/javaevolved.github.io
Description: 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
Open Graph Description: 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 ...
X Description: 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 exist...
Opengraph URL: https://github.com/javaevolved/javaevolved.github.io/pull/100
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2ec1ffa4-491c-8e36-eefb-61793956732a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D968:177BC0:7BA44:A24E2:6A61663E |
| html-safe-nonce | cd2eb0a33ca6d9eafdc147c77fd9dadd568d1c2ad784acb70ec71523811fadde |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTY4OjE3N0JDMDo3QkE0NDpBMjRFMjo2QTYxNjYzRSIsInZpc2l0b3JfaWQiOiI3NzMyMjc3NzYyNzY3MDIxNjMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 819289b31a1f3683d1e37c07808eaf36ef9e1af910eebf8271d45ee089c8bb4a |
| hovercard-subject-tag | pull_request:3329372417 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/javaevolved/javaevolved.github.io/pull/100/files |
| twitter:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/1143301?s=400&v=4 |
| og:image:alt | 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 ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | a69385f7d268ece7ad25b131bbd70f457024811fc79afcae43785a6849b724e2 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/javaevolved/javaevolved.github.io git https://github.com/javaevolved/javaevolved.github.io.git |
| octolytics-dimension-user_id | 261976795 |
| octolytics-dimension-user_login | javaevolved |
| octolytics-dimension-repository_id | 1159421298 |
| octolytics-dimension-repository_nwo | javaevolved/javaevolved.github.io |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1159421298 |
| octolytics-dimension-repository_network_root_nwo | javaevolved/javaevolved.github.io |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 484cf265a1f970d5c7a5e7c37cb677d8010aa12f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width