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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Width is not calculated correctly for the resize buttons #226

Closed
jkevingutierrez opened this issue Jul 7, 2023 · 0 comments 路 Fixed by #225
Closed

Width is not calculated correctly for the resize buttons #226

jkevingutierrez opened this issue Jul 7, 2023 · 0 comments 路 Fixed by #225

Comments

@jkevingutierrez
Copy link
Contributor

Found a bug? Please fill out the sections below. 馃憤

Issue Summary

The sizes defined here are not being applied correctly. The width is always 2px smaller than the real value

Steps to Reproduce

  1. Set up Django Pattern Library
  2. Click on the resize buttons
  3. See how the width is always 2px smaller than the real value

For example, when I click the S button it should resize to 320px but it is really resizing to 318px

image

Same for other sizes:

image
image

Technical details

  • Python version: 3.9.13
  • Django version: 3.2.18
  • Browser version: Chrome 114
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 a pull request may close this issue.

1 participant