-
Notifications
You must be signed in to change notification settings - Fork 6
fix(TextInput): input styling #733
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
🦋 Changeset detectedLatest commit: 864b160 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
📦 NPM canary releaseDeployed canary version 0.0.0-canary-e864021. |
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
This PR fixes minor issues with TextInput component styling by refactoring the CSS grid layout implementation and adjusting margin calculations for multiline inputs.
- Simplified grid area assignments by removing explicit grid area properties from Prefix and Suffix components
- Updated grid column definitions to use conditional styling based on prefix/suffix presence
- Modified margin calculations for multiline inputs to account for different size variants
- Reset vertical padding to 0 and adjusted multiline margin logic
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| src/components/fields/TextInput/TextInputBase.tsx | Refactored CSS grid layout, simplified component styling, and updated margin calculations for multiline inputs |
| .changeset/curly-trainers-walk.md | Added changeset entry documenting the input styling fixes |
🏋️ Size limit report
Click here if you want to find out what is changed in this build |
🧪 Storybook is successfully deployed!
|
No description provided.