uttesh / ngletteravatar

directive for the letter avatar for the given string like gmail, first letter of the given data will be the avatar .
http://uttesh.github.io/ngletteravatar/
MIT License
136 stars 36 forks source link

Custom css like padding, margin won't work and dynamic="true" break everything #33

Open mahbub-java opened 7 years ago

mahbub-java commented 7 years ago

If i apply custom simple css, its not work.

<ng-letter-avatar data="uttesh" style="margin-left: 48%"></ng-letter-avatar>

Width property don't take % only px

<ng-letter-avatar data="uttesh" width="100%"></ng-letter-avatar>

dynamic="true" works but ignore or break parent css. Some time shape round is not work when dynamic="true".

Its very nice avatar. Thaks and please update.