inspector icon indicating copy to clipboard operation
inspector copied to clipboard

fix: prevent copy button overlap with long text in JsonView (fixes #769)

Open nitishagar opened this issue 3 months ago • 1 comments

Prevent copy button overlap with long text in JsonView #769

Motivation and Context

  • Add right padding (pr-12) to content area to ensure text doesn't flow under the absolutely positioned copy button

How Has This Been Tested?

  • Add unit tests to verify the padding is applied correctly
  • Add E2E test to prevent regression

Breaking Changes

No

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] Documentation update

Checklist

  • [x] I have read the MCP Documentation
  • [x] My code follows the repository's style guidelines
  • [x] New and existing tests pass locally
  • [ ] I have added appropriate error handling
  • [ ] I have added or updated documentation as needed

Additional context

NA

nitishagar avatar Sep 20 '25 10:09 nitishagar

Hi @nitishagar Can you please include before and after screenshots so we can see what this does?

cliffhall avatar Oct 10 '25 18:10 cliffhall