Fixes #35232 Because of how sub-pixels are handled in browsers, the resize handle was previously looking more inclined towards right. By using translate instead adjusting the width in left property, the issue seems to be resolved. Before: <img width="65" alt="CleanShot 2024-08-13 at 17 08 47@2x" src="https://github.com/user-attachments/assets/04f65b6a-6ef6-435f-91ea-3ebf1c12e7ab"> After: <img width="71" alt="CleanShot 2024-08-13 at 17 08 00@2x" src="https://github.com/user-attachments/assets/bc29017c-c12c-49ee-a14e-270f33b3a6a6"> </details> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced positioning logic for the space distribution handle, simplifying the alignment process and potentially improving rendering behavior. - **Documentation** - Added comments to clarify the rationale behind adjustments in the positioning logic and highlight the benefits of using `translateX` for centering. - **Bug Fixes** - Resolved potential pixel snapping issues related to the handle's positioning. <!-- end of auto-generated comment: release notes by coderabbit.ai --> <!-- This is an auto-generated comment: Cypress test results --> > [!WARNING] > Tests have not run on the HEAD 801900efe8c65439e1b82db3fb309dcd59e461a3 yet > <hr>Tue, 13 Aug 2024 12:05:21 UTC <!-- end of auto-generated comment: Cypress test results --> --------- Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro-2.local> |
||
|---|---|---|
| .. | ||
| client | ||
| server | ||
| util | ||