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

Can you explain why you chose your breakpoint definitions #878

Open
Tracked by #863
mfal opened this issue Oct 22, 2024 · 1 comment
Open
Tracked by #863

Can you explain why you chose your breakpoint definitions #878

mfal opened this issue Oct 22, 2024 · 1 comment
Labels
documentation Improvements or additions to documentation question Further information is requested

Comments

@mfal
Copy link
Collaborator

mfal commented Oct 22, 2024

Can you explain why you chose your breakpoint definitions (s <= 550px, m >= 551 && m <= 850 and l >= 851)? Why not align with popular frameworks like Tailwind or Bootstrap?

@mfal mfal added documentation Improvements or additions to documentation question Further information is requested labels Oct 22, 2024
@mfal
Copy link
Collaborator Author

mfal commented Oct 22, 2024

@gskyarts If you mean the breakpoint on the ColumnLayout component: This component should be used to align content, and not to build the main app layout. We choose to use container queries for this use case, because the actual screen size does not matter from a component view.

Also the breakpoints used in the container queries should not be mixed up with the standard breakpoints used in media queries to detect different screen sizes (tablet, desktop, mobile).

Does this answer your question?

@mfal mfal changed the title Can you explain why you chose your breakpoint definitions (s <= 550px, m >= 551 && m <= 850 and l >= 851)? Why not align with popular frameworks like Tailwind or Bootstrap? Can you explain why you chose your breakpoint definitions Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant