-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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(datatable): add padding so search clear button doesn't obstruct text #5145
fix(datatable): add padding so search clear button doesn't obstruct text #5145
Conversation
Deploy preview for the-carbon-components ready! Built with commit 073db0b https://deploy-preview-5145--the-carbon-components.netlify.com |
Deploy preview for carbon-elements failed. Built with commit a8f0c37 https://app.netlify.com/sites/carbon-elements/deploys/5e28ca8617fd9c00097628ad |
Deploy preview for carbon-elements ready! Built with commit 5c2a8c2 |
Deploy preview for carbon-elements failed. Built with commit 073db0b https://app.netlify.com/sites/carbon-elements/deploys/5e28ca76dc908c0008dcce89 |
Deploy preview for carbon-components-react failed. Built with commit 073db0b https://app.netlify.com/sites/carbon-components-react/deploys/5e28ca76d04f0500088745dc |
Deploy preview for the-carbon-components ready! Built with commit 5c2a8c2 https://deploy-preview-5145--the-carbon-components.netlify.com |
Deploy preview for carbon-components-react ready! Built with commit 5c2a8c2 https://deploy-preview-5145--carbon-components-react.netlify.com |
@tw15egan This isn't coming from this PR but i noticed that the focus for the search clear button is off: |
…omponents into data-table-style-fixes
@abbeyhrt should be fixed now! Good catch 👍 |
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.
looks good to me
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.
looks good to me 🙌🏻
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.
LGTM 👍 - Thanks @tw15egan!
Closes #5142
Adds right padding to more clearly mimic the default search behavior. This will make sure the search text does not tuck under the close button.
Changelog
Changed
Removed
Testing / Reviewing
Add lots of text to a data table toolbar search input and ensure it stops before the close button