Closed jlawton22 closed 2 years ago
Hey there,
I've tried to reproduce the issue in a codesandbox here. In your CSS, does the .myIcon
class use strings for the width
and height
? That may be the issue, as I had to remove those for my example to work. Let me know if you can reproduce it and I'll investigate some more.
Thanks!
Hey, Thanks for taking a look at this for me. It seems that strings were used in the CSS and that was completely overlooked in the review process on my end. Looks like everything works as intended. Thanks for your time.
Hello, When trying to access styling from a css file for a RuxIcon,
className
property doesn't seem to read from css file as expected. Below is an example of the difference between accessing the style directly in the html tag and attempting to read from css file. Notice difference in button styling to the left.Code with style property:
Code: with CSS:
Thanks!