-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Center or left-align content that has a constrained width? #10195
Comments
agree with left aligned for wide screen. For smaller screens (laptops/tablets) it may (or may not) look weird... we should at least consider introducing responsiveness for different devices & screen sizes |
We already expect the user to consume the full width of the page, since we have controls on the top-right side of the screen. |
My thoughts:
|
Summarizing my opinions that I shared during the Mend-It Monday:
|
I think cantered alignment would have worked if we wouldn't have the left nav. The left nave puts weight on the left side of the screen that gravitates left alignment.
Agree, but I don't think we can solve this now.. I think with overview pages (like the screenshots above) it's not too bad, but I do agree we need to see how that would impact dashboards/discover/viz/etc... basically anything that requires heavy interaction with the timepicker for example. as a side note, if we didn't have the left nav, we could have just aligned everything in the center, including the top nav... but we do have it :) (though it's worth mentioning as part of a side note... don't you think?) UPDATE: re the side note... second point @kobelb said |
EUIfication will address this. |
Some content, like a Dashboard, works best when it takes up as much horizontal space as possible. Some other content, like tables and paragraphs of text, become less usable as the width increases (beyond a certain point). On very wide monitors, content like this would become unusable if it took up the full width of the screen.
So, we need to constrain this content's width to a maximum-width. The problem then becomes: how do we position this content within the screen? Do we center it or align it to the left? Or do something else?
Relevant comments:
Centered
Left-aligned
Personally, I think left-aligned is the better option because on very wide screens use will need to switch interaction between the side nav and the content (originally @epixa's idea).
The text was updated successfully, but these errors were encountered: