Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support of retina avatars #641

Merged
merged 7 commits into from
Mar 21, 2021
Merged

feat: support of retina avatars #641

merged 7 commits into from
Mar 21, 2021

Conversation

djaiss
Copy link
Member

@djaiss djaiss commented Mar 21, 2021

The current avatar are not "retina ready", ie high definition.

This PR brings the srcset attribute to a new Avatar component that scales the image to the right width when displayed on a retina screen.

Example:

image

@djaiss djaiss marked this pull request as ready for review March 21, 2021 20:27
@djaiss
Copy link
Member Author

djaiss commented Mar 21, 2021

It was painful but I think I've covered all the avatars now.

The app finally looks better on retina screens now.

@sonarcloud
Copy link

sonarcloud bot commented Mar 21, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

87.5% 87.5% Coverage
1.7% 1.7% Duplication

@djaiss djaiss merged commit 7a380d3 into main Mar 21, 2021
@djaiss djaiss deleted the 2021-03-20-retina-avatars branch March 21, 2021 20:35
@github-actions
Copy link
Contributor

This pull request has been automatically locked since there
has not been any recent activity after it was closed.
Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant