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 max-width for children elements of the level component #683

Merged
merged 3 commits into from Jul 29, 2021

Conversation

sebnitu
Copy link
Owner

@sebnitu sebnitu commented Jul 29, 2021

What changed?

This PR fixes a level component bug that allowed a 100% width element to overflow the container. This is fixed by using a CSS calc to subtract the level gap value from the max-width property.

Fixes #682

@sebnitu sebnitu merged commit c04536e into master Jul 29, 2021
@sebnitu sebnitu deleted the fix-level-max-width branch July 29, 2021 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix max-width for children elements of the level component
1 participant