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: Fix restricted device size to enable phones landscape #1340

Merged

Conversation

happymvp
Copy link
Contributor

✨ Pull Request

📓 Referenced Issue

Fix #1210

ℹ️ About the PR

Added checker for landscape mode before strict ("w-52") size of device.

flex-shrink-0 is not needed because we have control over elements with overflow scroll.

But long-term I'd put all the layout settings (incl. Masonry Layout, Preview Layout) into one component. Now it's too easy to break the whole visual configuration with inappropriate css style

🖼️ Testing Scenarios / Screenshots

Screenshot 2024-12-10 at 15 45 20 Screenshot 2024-12-10 at 15 45 26 Screenshot 2024-12-10 at 15 45 33 Screenshot 2024-12-10 at 15 45 35

@violetadev
Copy link
Contributor

awesome work, thank you!

@violetadev violetadev merged commit f56f94d into responsively-org:main Dec 14, 2024
4 checks passed
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.

When rotating to landscape, update the aspect ratio of the location on the main screen for some phone targets
2 participants