Skip to content

Inline avatars display inconsistently #63

@danielbprice

Description

@danielbprice

I noticed that <avatar inline>'s with src set versus those with username set have inconsistent alignment with surrounding inline text. The following fiddle hopefully illustrates the problem: https://jsfiddle.net/hnyao14r/2/

Screen Shot 2019-10-24 at 9 09 03 PM

I also show a minor tweak-- adding a zero width space to the wrapper <div>-- which seems to help the situation. I'm not sure I understand enough about CSS and alignment and baselines to know why. Thanks for this nice component!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions