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

Update CSS for landscape mode #91

Merged
merged 3 commits into from
Oct 15, 2024
Merged

Conversation

Goutamchoudhary907
Copy link

close #47
Hey , i just update css for landscape mode , plz check and let me know if anything else is needed , if not merge this PR

@nfoert
Copy link
Owner

nfoert commented Oct 14, 2024

Thanks for working on this @Goutamchoudhary907! This does appear to be working better, however there still seems to be some strange behaviors with the scroll snapping

Perhaps disabling scroll snapping all together when this page is in landscape mode would be a good fix for this?

Screen Shot 2024-10-14 at 14 57 37
Screen Shot 2024-10-14 at 14 57 32

@Goutamchoudhary907
Copy link
Author

Hey @nfoert Thanks for suggestion , i work on this and add some javascript to disable scroll snapping as css wont work , now there is no scroll snapping in landscape mode
Cardie2
Cardie3

Landscape changes would be applied even if it wasn't displayed on a smaller screen
@nfoert
Copy link
Owner

nfoert commented Oct 15, 2024

Thanks for working on this! There was one issue with the CSS media query which I fixed, the scroll snap was getting disabled on any landscape screen which includes normal computer screens, it needed to be on landscape and with a small display
I'll get this merged now!

@nfoert nfoert added the hacktoberfest A good issue for hacktoberfest 2024 label Oct 15, 2024
@nfoert nfoert changed the base branch from main to development October 15, 2024 22:36
@nfoert nfoert merged commit db01796 into nfoert:development Oct 15, 2024
1 check failed
@Goutamchoudhary907
Copy link
Author

Thanks for merging

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest A good issue for hacktoberfest 2024
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mobile index page in landscape mode does not look good
2 participants