michaelbazos / angular-feather

A-la-carte integration of Feather Icons in Angular applications
MIT License
155 stars 38 forks source link

How to add position alignment to the icon #39

Closed jstechaut closed 3 years ago

jstechaut commented 3 years ago

I have tried to add margin-top css style to position the icon a little top but it doesn't work eg: name="arrow-right" class="arrow-on-btn"

css:.arrow-on-btn { margin-top: -3px !important; } Is there any way to add margin style to position icon??

emilwall commented 3 years ago

I doubt this is a problem with the angular version of Feathers, you could try asking in the main repository or stack overflow instead but it sounds like it's just a problem with your CSS.

Does this reproduce the problem that you're experiencing? https://jsfiddle.net/fma05oyn/1 It might be helpful if you provide a print screen with your current result as well as the desired result.

michaelbazos commented 3 years ago

Indeed this can be solved with a CSS rule where it needs. Closing the issue considering the lack of reproducible fiddle and feedback.