Skip to content

fix: show file action buttons on hover without layout shift#255

Merged
AmethystLiang merged 1 commit intomainfrom
fix-change-display
Apr 1, 2026
Merged

fix: show file action buttons on hover without layout shift#255
AmethystLiang merged 1 commit intomainfrom
fix-change-display

Conversation

@AmethystLiang
Copy link
Copy Markdown
Contributor

Summary

  • Action buttons (revert, stage) in the source control Changes list now use absolute positioning with a solid background overlay
  • Buttons are completely hidden until hover — no reserved space, no layout shift
  • File names and status letters remain stable on hover

Test plan

  • Hover over file rows in the Changes section — action buttons should appear without shifting text
  • Verify buttons cover the status letter cleanly in both light and dark themes
  • Verify stage/discard actions still work correctly

Action buttons (revert, stage) in the Changes list now use absolute
positioning with a solid background overlay, so they appear on hover
without taking up space or shifting file names and status letters.
@AmethystLiang AmethystLiang merged commit 532ee5c into main Apr 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant