Repository navigation
fix(sidebar): restyle section headers as inline dividers - #1992
Merged
l0gicgate merged 5 commits intoNov 2, 2026
Merged
Conversation
… ring Size the Pinned and Devices header toggles like sidebar rows, stretch them across the sidebar and up to the divider above so the hover fill meets the divider lines, and stop them taking focus on click. The focus outline now shows only for keyboard focus. Fixes lgse#1991
Lay out the Pinned and Devices headers as the title, an inline rule, the item count while collapsed, and a trailing chevron. The full sidebar drops the standalone divider above each section in favour of the inline rule; the icon rail, which hides headers, still draws it. Refs lgse#1991
Size the chevron like a device action and inset it by the device row's right padding, so it lines up with the eject column at every text size. Refs lgse#1991
A CSS-rotated icon is not pixel-snapped, so under GL rendering and fractional scaling the expanded chevron drifted about a pixel right of the eject column. Show a Lucide chevron-down while expanded and the right chevron while collapsed instead. Refs lgse#1991
Collaborator
Author
ReviewNo bugs found in the PR head ( Checked:
Minor: no regression coverage for the focus fix
|
This was referenced Nov 2, 2026
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.
Description
Restyles the Pinned and Devices section headers added in #1390 as inline dividers and fixes their interaction problems:
:focus-visible, so keyboard focus still shows it.Visual evidence
How to test
Expected result: Expanded sections show
TITLE ─── ˅with no count. A collapsed section shows its item count before a›chevron. Clicking toggles the section without leaving an accent outline, and keyboard focus stays in the file listing. In the icon rail the headers are hidden and a thin divider still separates the sections.Related issue
Closes #1991