Open rallyb13 opened 1 year ago
@rallyb13 you are correct. The ability to resize never considered its association with the label content.
@Patrick-Daly-AA This is a viable feature we should add to this element. @rallyb13 do you have availability to contribute to this update?
Assigning to @leeejune for input on if this is compliant with our design, or if the design needs to be updated to accommodate this.
@rallyb13 do you have availability to contribute to this update?
Not in the immediate future, I'm afraid. If it still hasn't been picked up after the hackathon, then maybe...?
Is your feature request related to a problem? Please describe.
The
customSize
attribute works great to resize, but only when there's no label. Because it targets the parent element rather than the icon itself, any resize attempt ends up targeting the label as well. Which means that a) the icon itself does not resize & b) the label text has CSS applied that I don't want.Describe the solution you'd like
The ability to target the icon only while also using a label.
Describe alternatives you've considered
When used
transform: scale
, which only works because we conveniently wanted the font-size to differ by the same proportion.Additional context
No response