Skip to content

User avatar in control panel header does not cover whole circle if avatar image aspect ratio is not 1:1 #5729

@ncla

Description

@ncla

Bug description

image

How to reproduce

  1. Upload an avatar that is in some weird aspect ratio for currently logged in user

Logs

No response

Versions

Statamic 3.3.4
Laravel 9.5.1
PHP 8.0.16
No addons installed

Installation

Fresh statamic/statamic site via CLI

Antlers Parser

No response

Additional details

I can open PR for this, there's two approaches for this:

  1. One line CSS fix
  2. Force generate a square thumbnail (currently CP outputs URL to the original image)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions