Skip to content
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

fix(input): update left right spacing and stories #1906

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

saty2103
Copy link

@saty2103 saty2103 commented Jul 6, 2023

What does this implement/fix? Explain your changes.

Current PR fixes followings:

  • Update left and right padding to 8px when icon is present
  • Update help text story to wrap help text to next line. Earlier large single line help text led to increase in input width as well.
  • Update placeholder and left icon on Left Icon story inside types

...

Does this close any currently open issues?

...

Any other comments?

...

Dependent PRs/Commits

...

Describe breaking changes, if any.

...

Checklist

Check all those that are applicable and complete.

  • Merged with latest master branch

Current PR fixes followings:
- Update left and right padding to 8px when icon is present
- Update help text story to wrap help text to next line. Earlier large single line help text led to increase in input width as well.
- Update placeholder and left icon on Left Icon story inside types
@saty2103 saty2103 force-pushed the fix-input-left-right-spacing branch from 6aa9cc1 to 046c2df Compare July 6, 2023 12:44
@saty2103 saty2103 changed the title fix(input): update left and right spacing fix(input): update left right spacing and stories Jul 6, 2023
Comment on lines +195 to +196
['Input--leftIcon']: size !== 'tiny' && icon,
['Input--rightIcon']: !disabled && (info || ((actionIcon || onClear) && (value || defaultValue))),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please change the className to Input-withIcon--left

@anuradha9712 anuradha9712 marked this pull request as draft August 2, 2023 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants