this post was submitted on 12 May 2024
804 points (98.0% liked)
Programmer Humor
32588 readers
1079 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I think for most web apps it doesn't make sense to allow the width to get so wide, except when the content being displayed is a columnar list and even then it's a pretty marginal benefit.
What I've done is limit the max-width to some amount of px/chars and allowed the remaining space be empty, with an exception for when displaying tables. Even with tables, the bigger width is only beneficial if either the contents of the columns are large enough, or there are very many columns to show. The solution in my mind is limiting the column widths to the longest content.