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

Fix dapp logo showcase #2478

Merged
merged 2 commits into from
May 21, 2024
Merged

Fix dapp logo showcase #2478

merged 2 commits into from
May 21, 2024

Conversation

lmuntaner
Copy link
Contributor

@lmuntaner lmuntaner commented May 21, 2024

There was an issue in the home page's showcase of logos when a logo was not square and was instead a rectangle.

In this PR, I add a container to make sure the images have a square ration and the logo is contained within it.


🟡 Some screens were changed

@lmuntaner
Copy link
Contributor Author

lmuntaner commented May 21, 2024

Wider logos:

Screenshot 2024-05-21 at 10 25 50
Screenshot 2024-05-21 at 10 27 23

Higher logo:
Screenshot 2024-05-21 at 10 26 56

@lmuntaner
Copy link
Contributor Author

The changes in the screenshots are because the logos are moved slightly to the left. I don't rely on the "left" to set the width of the container and instead I use the aspect-ratio.

@lmuntaner lmuntaner marked this pull request as ready for review May 21, 2024 09:08
@peterpeterparker
Copy link
Member

This logo (see screenshot) was too big before or becomes too big?

displayManage

@lmuntaner
Copy link
Contributor Author

This logo (see screenshot) was too big before or becomes too big?

It was too big before.
Now:
Screenshot 2024-05-21 at 11 20 58

In this PR:
Screenshot 2024-05-21 at 11 20 21

Copy link
Member

@peterpeterparker peterpeterparker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thx

@peterpeterparker
Copy link
Member

peterpeterparker commented May 21, 2024

The Juno icon becomes a bit smaller but, I allow it (for now at least 😉)

@lmuntaner lmuntaner added this pull request to the merge queue May 21, 2024
Merged via the queue into main with commit 2ae0695 May 21, 2024
65 checks passed
@lmuntaner lmuntaner deleted the lm-fix-dapp-logo-showcase branch May 21, 2024 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants