Skip to content

Switch to box-sizing: border-box#196

Merged
severo merged 2 commits intomasterfrom
switch-to-box-sizing-border-box
May 27, 2025
Merged

Switch to box-sizing: border-box#196
severo merged 2 commits intomasterfrom
switch-to-box-sizing-border-box

Conversation

@severo
Copy link
Copy Markdown
Contributor

@severo severo commented May 27, 2025

It simplifies the calculation a lot, by removing the need to get the padding and border.

Note that the measured width is different, and the stored widths in localstorage are obsolete now. This is why we change the localstorage key to invalidate the cache.

@severo severo merged commit d654b0c into master May 27, 2025
10 checks passed
@severo severo deleted the switch-to-box-sizing-border-box branch May 27, 2025 13:07
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.

1 participant