-
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(search): add styles for custom search buttons #3247
fix(search): add styles for custom search buttons #3247
Conversation
Deploy preview for the-carbon-components ready! Built with commit a662e59 https://deploy-preview-3247--the-carbon-components.netlify.com |
Deploy preview for carbon-components-react ready! Built with commit a662e59 https://deploy-preview-3247--carbon-components-react.netlify.com |
Deploy preview for carbon-elements ready! Built with commit beeafed |
Deploy preview for carbon-elements ready! Built with commit a662e59 |
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.
Hi Jen, style looks good! But just wondering if adding buttons is something we can achieve with Toolbar component? https://the-carbon-components.netlify.com/?nav=toolbar
Thanks @shixiedesign! I'm not familiar with that component 🤔 Looks like it is styled a little strangely when I interact with it? I was looking at this particular React variation of the Perhaps the styling could be consolidated but it seems like the |
Ouch yes I'm doing another QA pass on the components so thanks for pointing that out about the tool. Will need to fix that. Thanks for the Search variant fix! I think we can merge since this is an update to existing component and think about consolidation / guidance later. |
Thanks @shixiedesign! Just FYI I think the react version of the See: http://react.carbondesignsystem.com/?path=/story/toolbar--default |
Thanks @jendowns , I'm double checking with other designers and will make an issue for this component once I'm sure! Looks like it's lumped into data table at the moment so I'm not exactly sure where the styling went coz data table (last I checked) looked okay... |
Closes #2042
Adds some styles for custom
Search
buttons. Please let me know what you think 🤔 I just went with the look of the close button + what we have in our storybook, so I'm happy to adjust. 👍The buttons basically look like this:
Changelog
New
.bx--search-button
Changed
.bx--search-close
styles a little so it could share styles for.bx--search-button
Removed
.bx--search-close