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: prevent child element overflow by adding box-sizing: border-box #2960

Merged
merged 1 commit into from
Feb 16, 2025

Conversation

wdonsong
Copy link
Contributor

  • Added box-sizing: border-box to fix container overflow issues
  • Ensures padding and border are included in element's total width/height calculation

- Added box-sizing: border-box to fix container overflow issues
- Ensures padding and border are included in element's total width/height calculation
@Mister-Hope
Copy link
Member

Can you provide a before/after screenshot and a detailed description?

@Mister-Hope Mister-Hope merged commit a41f77b into walinejs:main Feb 16, 2025
2 checks passed
@Mister-Hope
Copy link
Member

Oh I got you, this is a correct fix

@wdonsong
Copy link
Contributor Author

Can you provide a before/after screenshot and a detailed description?

before
after

@wdonsong wdonsong deleted the patch-1 branch February 16, 2025 12:13
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

Successfully merging this pull request may close these issues.

2 participants