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

Icon Label Block - Icon Gap Resets to a Different Value When an Icon Size Is Set #3426

Open
malalacharm opened this issue Feb 11, 2025 · 0 comments · May be fixed by #3447
Open

Icon Label Block - Icon Gap Resets to a Different Value When an Icon Size Is Set #3426

malalacharm opened this issue Feb 11, 2025 · 0 comments · May be fixed by #3447
Assignees
Labels
bug Something isn't working

Comments

@malalacharm
Copy link

malalacharm commented Feb 11, 2025

Describe the bug
If an Icon Size has a set value, the Icon Gap resets to a different value instead of remaining at 0 when it is set to 0 in all views.

  • Happens in editor
  • Happens in frontend

To Reproduce
Steps to reproduce the behavior:

  1. Add a page
  2. Add an Icon Label Block
  3. On the Icon Label Block, set the Icon Gap value to 0 in Desktop, Tablet, and Mobile views
  4. On the Icon Block, increase the icon size value to 30
  5. Save the page and check on frontend (no icon gap)
  6. Refresh the page
  7. See the error on the editor, there is an icon gap visible and the value is 34
  8. Add the word "block" on the Icon Label Heading and Save page
  9. See the error on frontend (Icon Gap is visible)

Expected behavior

  • When an Icon Size is set to any value, the Icon Gap should remain at the specified value across all views.
  • If the Icon Gap value is set to 0 for Desktop, Tablet, and Mobile views, it should stay at 0 and not reset to another value.
  • Any content updates should not cause the Icon Gap to change unexpectedly

Screenshots

Icon.Gap.mp4
@malalacharm malalacharm added the bug Something isn't working label Feb 11, 2025
@Arukuen Arukuen self-assigned this Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants