User avatar in control panel header does not cover whole circle if avatar image aspect ratio is not 1:1 · Issue #5729 · statamic/cms · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
One line CSS fix
Force generate a square thumbnail (currently CP outputs URL to the original image)
The text was updated successfully, but these errors were encountered:
ncla
changed the title
User avatar in control panel header does not cover whole circle if avatar image aspect ratio is not 1:1 ratio
User avatar in control panel header does not cover whole circle if avatar image aspect ratio is not 1:1
Apr 3, 2022
Since I already had looked at how to solve this issue before hand (I know, I know), I present two PRs. One CSS fix, second one uses thumbnail controller adjustments. CSS fix is much simpler obviously. As I said in the 2nd PR, no hard feelings if it's too much, just deep diving cms source code as practice.
Uh oh!
There was an error while loading. Please reload this page.
Bug description
How to reproduce
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:
The text was updated successfully, but these errors were encountered: