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 percentages being off by factor 100 #571

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

Sharktheone
Copy link
Member

Percentages were off by factor 100.

This is because taffy expects a percentage from 0-1 as the full range, however we gave it 0-100 as full range.

This resulted in some "fairly" large sites, like ~20Mio px wide...
(~2000px viewport width, *100² = 20Mio)

@Sharktheone Sharktheone added the css3 Any issues related to CSS3 label Aug 27, 2024
@Sharktheone Sharktheone self-assigned this Aug 27, 2024
@Sharktheone Sharktheone merged commit 7291b75 into gosub-io:main Aug 27, 2024
10 checks passed
@Sharktheone Sharktheone deleted the layout/fix-percentages branch August 27, 2024 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css3 Any issues related to CSS3
Projects
Status: 🎯 Done
Development

Successfully merging this pull request may close these issues.

2 participants