-
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(content-switcher): set height in button container instead of button #3758
fix(content-switcher): set height in button container instead of button #3758
Conversation
The latest code that dictates the height of content switcher buttons is introduced in carbon-design-system#2085, whereas the height of their (the buttons') container is dictated by code from older commit. Given the issue carbon-design-system#2085 refers to (carbon-design-system#1956) seems to request simply for the button's height and doesn't seem to mention how buttons' height should work with their container's height, this change moves the code to define the height back to the container. Fixes carbon-design-system#3751.
Deploy preview for the-carbon-components ready! Built with commit 3f34c7b https://deploy-preview-3758--the-carbon-components.netlify.com |
Deploy preview for carbon-elements ready! Built with commit 3f34c7b |
Deploy preview for carbon-components-react ready! Built with commit 3f34c7b https://deploy-preview-3758--carbon-components-react.netlify.com |
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 thanks for the fix akira
The latest code that dictates the height of content switcher buttons is introduced in #2085, whereas the height of their (the buttons') container is dictated by code from older commit. Given the issue #2085 refers to (#1956) seems to request simply for the button's height and doesn't seem to mention how buttons' height should work with their container's height, this change moves the code to define the height back to the container.
@aledavila Please don't hesitate to speak up if I'm missing anything!
Fixes #3751.
Changelog
Changed
40px
) in their container, instead of in the buttons themselves.Testing / Reviewing
Testing should make sure content switcher is not broken.