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

maxWidth and maxHeight not respected when padding in one of the axiz exceeds the max values #1796

Open
craig006 opened this issue Mar 7, 2025 · 0 comments

Comments

@craig006
Copy link

craig006 commented Mar 7, 2025

To reproduce the issue, make a single root container with these two properties set:
maxWidth: 10
paddingLeft: 100

Expected result:
The maxWidth of the container is respected and the container has a total width of 10.

Actual:
The maxWidth of the container is not respected and the container has a total width of 100.

Here is a link to a playground with the example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant