You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was checking why this was the case. Our initial idea for the "Icon Gap" option is that it works independently from the icon size, so that you can have the icon any size you want, then the Icon Gap measurement would correspond to the width from the left side of the icon, to the left side of the text.
This looks confusing now that the icon label block has been out for a while.
Implementation
Let's transition this to be a proper "gap" styling rule instead of a "flexbasis" styling rule.
Keep in mind that the value would need to be deprecated and adjusted for the new rule. The new value would now be the gap between the icon and the text. The value should be upgraded to be:
// On deprecation, update value to:constnewValue=oldValue-iconblocksize
The new default gap should make the block look the same as it is now - this is so that if you have existing icon label blocks and you updated to the new style, inserting a new icon label block would have them both aligned the same way.
Check whether the Icon box block might also need to be updated because of the adjustments
Describe the bug
When I set the Icon Gap to
36
or below, it stops immediately and no gap anymore instead of having no gap at0
.To Reproduce
Steps to reproduce the behavior:
36
or below0
Expected behavior
Icon Gap no gap should appear when it's set to
0
Screenshots
Screen.Recording.2024-04-02.at.2.02.47.PM.mov
The text was updated successfully, but these errors were encountered: