Replies: 1 comment
-
Hey, thanks for bringing this to our attention. Firstly, I want to mention that the combination of However, the Now let me try to explain what's going on visually with the help of a screenshot. (I like your attention to detail in calling out this issue) There are a few different things at play here:
Hope that helps! Please let us know if you have any further questions or if there's a way we can make this easier. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am wondering if there is an elegant way to build an "icon + text" component that would perfectly align with buttons (please see attached image) and would also have an "active" color applied to the icon.
I am currently using a combination of
Flex
/Icon
/Text
, however the icon fill does not feature an option with--iui-color-icon
color applied. The vertical alignment of text looks off by a pixel as well.Is the best course of action to build a simple wrapper component for myself or are there alternatives that I am missing?
I am using iTwinUI-React v3.11.3.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions