Fix dashboard panel titles centered by drag grip (v1.3.1)#80
Merged
Conversation
The 1.3.0 drag grip was injected as a flex child of each panel header; with justify-content: space-between that made three flex items and centered every panel title (Connection, Repair Operations, ...) instead of left-aligning it. The grip is now absolutely positioned in a small reserved header gutter, out of the flex flow, so headers lay out exactly as before 1.3.0 and the grip still appears on hover. Verified in a headless browser at 1940px: all panel titles back to a consistent left offset; grip no longer disturbs header layout. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ffp2b19PUmzEU1fxpnURA
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.
Bug
In 1.3.0 the drag grip was injected as a flex child of each panel header. Because
.panel-headusesjustify-content: space-between, adding the grip made three flex items — which centered every panel title (Connection, Repair Operations, Trends, …) instead of left-aligning it. Reported: "positioning of text is way off."Fix
The grip is now absolutely positioned in a small reserved header gutter, out of the flex flow. Headers lay out exactly as they did before 1.3.0 (title left, actions right), and the grip still fades in on hover. One-line-of-CSS class of fix; no JS/behavior change.
Verification
Rendered in a headless browser at 1940px:
Ships as 1.3.1 (CHANGELOG flipped + banners bumped) since the regression is live on
latest. On merge the auto-release publishes1.3.1/1.3/1/latest.🤖 Generated with Claude Code
Generated by Claude Code