Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[docs][TextField] Add suffix shrink demo #44744

Merged
merged 4 commits into from
Dec 17, 2024

Conversation

siriwatknp
Copy link
Member

@siriwatknp siriwatknp commented Dec 12, 2024

@siriwatknp siriwatknp added docs Improvements or additions to the documentation component: text field This is the name of the generic UI component, not the React module! labels Dec 12, 2024
@mui-bot
Copy link

mui-bot commented Dec 12, 2024

Netlify deploy preview

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 805bd6a

marginBottom: '5px',
pointerEvents: 'none',
[`.${filledInputClasses.root} &`]: {
marginBottom: '8px',
Copy link
Member

Choose a reason for hiding this comment

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

The adornment is misaligned by 1 px

Suggested change
marginBottom: '8px',
marginBottom: '7px',

Copy link
Member Author

Choose a reason for hiding this comment

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

This is 7px:

image

Probably 7.5px is the best 😅:

image

@siriwatknp siriwatknp merged commit b72be57 into mui:master Dec 17, 2024
22 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
component: text field This is the name of the generic UI component, not the React module! docs Improvements or additions to the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TextField] implement suffix/prefix props
4 participants