Updated navbar to latest design.#625
Open
Randy808 wants to merge 1 commit into
Open
Conversation
5d92cb8 to
a7ca465
Compare
Collaborator
Author
|
EDIT: Product said to remove light mode so this action item is no longer applicable |
Collaborator
Author
|
I'm going to move this back to draft since I want #627 to get merged first |
Collaborator
Collaborator
FedOken
reviewed
Jun 11, 2026
| if (e.key == 'Escape') closeNetworkMenus() | ||
| if ((e.metaKey || e.ctrlKey) && !e.altKey && !e.shiftKey && e.key.toLowerCase() == 'k') { | ||
| const searchInput = document.querySelector('.search-bar-input') | ||
| if (searchInput) { |
Collaborator
There was a problem hiding this comment.
I prefer to use less nesting, I think it's easier to read something like this. At your discretion.
const hasModifier = e.metaKey || e.ctrlKey || e.altKey || e.shiftKey
if (hasModifier || e.key.toLowerCase() !== 'k') return
const searchInput = document.querySelector('.search-bar-input')
if (!searchInput) return
e.preventDefault()
searchInput.focus()
Collaborator
Author
There was a problem hiding this comment.
Updated to be more legible
Collaborator
Author
|
@FedOken The overly large trigger area is intended. See the behavior on |
a7ca465 to
015b8f5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


To run locally, npm install and use the following snippets:
Bitcoin theme on Chrome (desktop):
Bitcoin theme on Chrome (mobile):
Liquid theme on Chrome (desktop):
Bitcoin theme on Firefox (desktop):
Bitcoin theme on Firefox (mobile):