You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice, if would be possible to have this behavior:
If page orientation is landscape:
table will look normal (possibly use @media screen and (orientation landscape) CSS)
else orientation is portrait:
table will look stacked (possibly use @media screen and (orientation portrait) CSS)
2. Argumentation
2.1. Non-use specific px breakpoints
In my site, I don’t use specific px breakpoints. I use media queries for landscape and portrait orientation.
For landscape orientation, I use media query:
@mediascreenand (orientationlandscape)
For portrait:
@mediascreenand (orientationportrait)
2.2. Argumentation of non-use specific px breakpoints
In my experience, landscape and portrait orientation media queries are sufficient for most cases of responsive design. Perhaps it will be enough for Basic Table usage too.
I don’t like the logic of specific px breakpoints. A breakpoint px value that works well in one case may not work so well in another case, and a different breakpoint value will be more successful.
In process of time, device sizes are changing, and web developers have to change px breakpoints.
Dealing with specific px breakpoints can be time-consuming.
3. Example of desired behavior
If user initialize Basic Table use this code:
newbasictable('table', breakpoint:'orientation')
Basic Table will have the behavior as in my Summary.
Thanks.
The text was updated successfully, but these errors were encountered:
1. Summary
It would be nice, if would be possible to have this behavior:
If page orientation is
landscape
:table will look normal (possibly use
@media screen and (orientation landscape)
CSS)else orientation is
portrait
:table will look stacked (possibly use
@media screen and (orientation portrait)
CSS)2. Argumentation
2.1. Non-use specific px breakpoints
In my site, I don’t use specific px breakpoints. I use media queries for
landscape
andportrait
orientation.For landscape orientation, I use media query:
For portrait:
2.2. Argumentation of non-use specific px breakpoints
3. Example of desired behavior
If user initialize Basic Table use this code:
Basic Table will have the behavior as in my Summary.
Thanks.
The text was updated successfully, but these errors were encountered: