Repository navigation
Narrow the keyboard lock panel when its labels are hidden - #814
Merged
Merged
Conversation
Below the sm breakpoint the Num/Caps/Scroll labels are hidden but the panel kept its 40 px width. Make it 16 px there, the width of a dot with its padding. Taken from sipeed/NanoKVM#985; its restyling is left out. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contributor
dormancygrace
commented
Nov 11, 2026
dormancygrace
left a comment
Owner
Author
There was a problem hiding this comment.
Reviewed 8594304. No blocking findings.
The 16 px narrow width matches the 8 px indicator plus 4 px padding on each side. The existing sm breakpoint restores 40 px at exactly the point where the labels become visible; indicator state, accessible labels and tooltips are unchanged.
Web UI CI, CodeQL and the full firmware build passed. This was a source/layout review; no browser or device rendering check was performed.
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.
Below the
smbreakpoint the Num/Caps/Scroll labels are hidden (hidden sm:inline), but the panel kept its fixed 40 px width. It is now 16 px there: an 8 px dot with 4 px padding on each side.Taken from sipeed/NanoKVM#985. Its restyling (monospaced font, another green, a letter inside the dot) is left out.
Checked with prettier only. Not looked at in a browser: the panel is not shown on my test device.
🤖 Generated with Claude Code