You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Input component icon positioning by only wrapping in relative container when needed (#777)
### Summary & Motivation
Fix layout issues with the Input component when displaying icons. The
component was wrapping all inputs in a div with conditional flex-1
class, which broke form layouts in certain scenarios like the
questionnaire forms.
- Modified the Input component to only wrap itself in a relative
container when a startIcon is present.
- Removed the conditional `isEmbedded ? "relative flex-1" : "relative"`
wrapper that was applied to all inputs.
- This preserves the original layout behavior for inputs without icons
while maintaining proper icon positioning.
### Checklist
- [x] I have added tests, or done manual regression tests
- [x] I have updated the documentation, if necessary
0 commit comments