Hi,

I have a question about SVG icons. I found both 
elm-community/elm-material-icons and jystic/elm-font-awesome have the same 
problem. When icons are small, they do not fit to their container 
components.

SSCCE (using elm-font-awesome):

   - Source 
   <https://github.com/jinjor/elm-issues/blob/master/src/SvgShift.elm>
   - View <https://jinjor.github.io/elm-issues/svg-shift.html>
   
If width >= 15px, it works as expected. Otherwise, the icon is not located 
at the right position.

What is the best solution to this issue? I also found if svg tag has `display: 
block` style, it works as expected. I wonder if always attaching it causes 
some other problems or not. Any idea?

Thanks.

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to