Skip to content
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(tabs): automatically add scrollbar when content overflows #6278

Merged

Conversation

emyarod
Copy link
Member

@emyarod emyarod commented Jun 15, 2020

Closes #6277

This PR changes the fixed 100% overflow-x to only apply when the content is overflowing

Testing / Reviewing

Confirm that scroll bars only appear when content overflows and not otherwise

@emyarod emyarod requested a review from a team as a code owner June 15, 2020 15:05
@ghost ghost requested review from joshblack and tw15egan June 15, 2020 15:05
@netlify
Copy link

netlify bot commented Jun 15, 2020

Deploy preview for carbon-elements ready!

Built with commit 032ef98

https://deploy-preview-6278--carbon-elements.netlify.app

@netlify
Copy link

netlify bot commented Jun 15, 2020

Deploy preview for carbon-components-react ready!

Built with commit 032ef98

https://deploy-preview-6278--carbon-components-react.netlify.app

Copy link
Member

@tw15egan tw15egan left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for the quick fix 🙏 👍 ✅

@emyarod emyarod force-pushed the 6277-tabs-nonmobile-overflow branch from 9c81503 to 22139a7 Compare June 23, 2020 14:16
@joshblack joshblack merged commit 6c4596d into carbon-design-system:master Jun 23, 2020
@emyarod emyarod deleted the 6277-tabs-nonmobile-overflow branch June 23, 2020 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tabs have forced scroll bars at all (non-mobile) screen sizes
3 participants