Skip to content

Conversation

@mrleemurray
Copy link
Contributor

@mrleemurray mrleemurray commented Dec 10, 2025

Refine the gutter padding and icon alignment in the InlineEditsGutterIndicator to improve layout consistency and visual appearance. Adjustments include modifying padding values and aligning icons based on the layout direction. Testing can be done by reviewing the inline edit indicators in the editor for proper alignment and spacing.

Addresses: #281477

Copilot AI review requested due to automatic review settings December 10, 2025 15:10
@mrleemurray mrleemurray self-assigned this Dec 10, 2025
@mrleemurray mrleemurray added this to the December / January 2026 milestone Dec 10, 2025
@mrleemurray mrleemurray requested a review from hediet December 10, 2025 15:12
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refines the gutter padding and icon alignment in the InlineEditsGutterIndicator to improve layout consistency and visual appearance. The primary changes involve splitting a single padding value into separate left and top padding values for more precise control, and dynamically adjusting icon alignment based on the layout direction.

  • Split unified gutter viewport padding into separate left (1px) and top (2px) padding values
  • Updated icon alignment to use flex-start when icon direction is 'bottom' (icon points down), otherwise flex-end
  • Adjusted all padding-dependent calculations to use the appropriate padding value

@mrleemurray mrleemurray marked this pull request as ready for review December 11, 2025 11:13
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.

2 participants