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

Improve mobile user experience and fix minor visual errors #5

Merged
merged 4 commits into from
Oct 7, 2021

Conversation

Async10
Copy link
Contributor

@Async10 Async10 commented Oct 5, 2021

This PR improves the user experience for mobile users. The grid layout is now responsive. That means mobile users no longer have to scroll horizontally to see all cookies. Futhermore the name of the logged in user now breaks into the next line if there is not enough space to fit the title and the name in the header.

Apart from that I fixed some minor visual errors. By adding some padding to the cookie image the cookie no longer overlaps the text for the toppings. I added some spacing on the "In your cart"-text so it no longer sticks to the "add to cart"-button.

By making the grid layout responsive users on mobile devices no longer
have to scroll horizontally to see all cookies.

If there is not enough space in the header to fit the title and the name of the logged
in user we now wrap the name of the logged in user into the next line.
@bespoyasov
Copy link
Owner

Thank you!

I will check this out this week and merge this PR if everything is okay :–)

Copy link
Owner

@bespoyasov bespoyasov left a comment

Choose a reason for hiding this comment

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

All good :–)
For the logo, though, I guess we can change the styles for the desktop a bit?

src/ui/Header/Header.module.css Outdated Show resolved Hide resolved
@bespoyasov
Copy link
Owner

Looks good! Thanks :–)

@bespoyasov bespoyasov merged commit 3762a53 into bespoyasov:master Oct 7, 2021
@Async10 Async10 deleted the 3-improve-mobile-ux branch October 7, 2021 12:22
@bespoyasov bespoyasov linked an issue Oct 31, 2021 that may be closed by this pull request
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.

Improve UI
2 participants