Skip to content

[BUG] mgt-react - avatar scales strangely when border applied #2070

Description

@JoshWhite

Describe the bug
Avatar image scaling when adding a border causes image to render poorly on some screens and is no longer round.

To Reproduce
Steps to reproduce the behavior:

  1. Create React web app
  2. Import <Person /> component from mgt-react
  3. Update styles so the avatar has a border

See repro

Expected behavior
CSS border not to affect avatar scaling

Environment (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Framework: React
  • Context: Web
  • Version: "@microsoft/mgt-react": "^2.9.0",

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions