-
-
Notifications
You must be signed in to change notification settings - Fork 362
feat(Transfer): make search icon align right #6959
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR refactors the Transfer component's SCSS to use logical CSS padding properties for better RTL support and shifts the search icon from the left to the right side by updating its positioning. Class diagram for updated Transfer component SCSS structureclassDiagram
class TransferSearchInput {
+padding-inline-start: 10px
+padding-inline-end: 30px
+border-radius
+border
+color
}
class TransferSearchIcon {
+width: 30px
+position: absolute
+right: 4px
+top: 0
+display: flex
+align-items: center
}
TransferSearchInput <|-- TransferSearchIcon
File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
Align the Transfer component’s search icon to the right and adjust input padding accordingly.
- Move the search icon from left to right positioning
- Replace physical paddings with logical padding-inline properties
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| padding-inline-start: 10px; | ||
| padding-inline-end: 30px; |
Copilot
AI
Oct 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mixing logical padding (padding-inline-*) with a physical position (right) breaks in RTL: inline-end maps to the left in RTL, but the icon is still physically pinned to the right, so the input text won’t have enough right padding and may overlap with the icon. Align the positioning with the padding by either using a logical inset (preferred) or switching back to physical padding on the right.
| transition: all .3s; | ||
| position: absolute; | ||
| left: 4px; | ||
| right: 4px; |
Copilot
AI
Oct 20, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mixing logical padding (padding-inline-*) with a physical position (right) breaks in RTL: inline-end maps to the left in RTL, but the icon is still physically pinned to the right, so the input text won’t have enough right padding and may overlap with the icon. Align the positioning with the padding by either using a logical inset (preferred) or switching back to physical padding on the right.
| right: 4px; | |
| inset-inline-end: 4px; |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6959 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 740 740
Lines 31896 31896
Branches 4473 4473
=========================================
Hits 31896 31896
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Link issues
fixes #6958
Summary By Copilot
Regression?
Risk
Verification
Packaging changes reviewed?
☑️ Self Check before Merge
Summary by Sourcery
Adjust Transfer component styling to align the search icon to the right and use logical CSS padding properties.
Bug Fixes:
Enhancements: