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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase @media max-width from 700px to 800px #719

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

norbjd
Copy link

@norbjd norbjd commented Nov 6, 2022

Hello 馃憢

Just a small PR to increase the max-width parameter of @media from 700px to 800px, to increase readability mostly on smartphones in landscape mode. It probably solves in a way #591.

Current behavior

I've noticed that on devices with small width (but > 700px, like some smartphones in landscape mode), the profile bar stays on the side, taking 30% of the screen.

When the width is <= 700px, then the sidebar is moved to the top.

By moving the profile bar from the side to the top, it allows a better readability on these devices. The issue is that 700px is now probably too low for most of the smartphones; new ones like iPhones, Galaxy, etc. have at least a 800px width.

Update

To change that behavior, I've updated the max-width value from 700px to 800px. Also, instead of having a max width at 600px when @media(max-width: 800px), I've updated it to 95% of the screen.

Values chosen

I've chosen 800px because most of the smartphones in landscape mode have now a width > 700px. But newer models have widths even greater than 800px (for example, 812px for iPhone 11 Pro, and even greater for new iPhones). So actually, the 800px could even be increased to 900px to my opinion.

Also, increasing the max width to 95% is more readable to me; but it's just my preference.

It allows a better readability on small width devices (< 800px, for example, smartphones in landscape mode) by moving the profile bar from the side to the top.
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

1 participant