off-topic

https://github.com/clojurians/community-development/blob/master/Code-of-Conduct.md Clojurians Slack Community Code of Conduct. Searchable message archives are at https://clojurians-log.clojureverse.org/
2021-04-25T18:27:55.308400Z

It's 2021, how can laying stuff out in css / html still be this painful!

simongray 2021-04-26T08:21:42.311800Z

That is an actual table so you should use the table elements for it. The default behaviour is a decent starting point, but if you need it to stay aligned when resizing the window, add some fixed widths to the columns.

2021-04-26T13:15:48.312700Z

Right, do you need a extra lib? No. But i thought it might have the feature (varying col per row). If someone wants to link the pure css for that I would be interested to see it. I haven't done that before. I imagine it's similar to what I have seen called a "tree"? But I'm not sure.

sova-soars-the-sora 2021-04-26T21:50:16.321800Z

What's the maximum number of columns you need? Start there

2021-04-25T18:49:05.308500Z

Perhaps because of the history leading up to 2021, where multiple browsers implementing things differently, and it is expensive to change them to make them behave identically, and dozens have people have tried to harmonize it all but none of those approaches have caught on yet?

2021-04-25T18:49:30.308700Z

I actually don't know, but I'm giving guesses that seem likely to be at least part of the truth.

2021-04-25T18:49:58.308900Z

https://xkcd.com/927/

2021-04-25T18:53:57.309600Z

I feel like I have reasonably simple requirement here, I want to lay stuff out in a grid where each row can have arbitrary columns and I'd like it resize in a sane way. Table looks ok when big and doesnt have much columns: But give it more columns and it all goes pear shaped. I tried using bootstrap grid, which resizes nicer but ends up not handling more than 12 columns nicely and rows with more or less columns than other columns look all wrong. It's so frustrating, feels like this should be simple.

😂 1
2021-04-25T19:20:49.309800Z

"like it to resize in a sane way" -- seems like there are many different desirable behaviors people might want due to resizing such a thing, yes? If there were only one way, it would probably be more common in its behavior.

2021-04-25T19:22:48.310Z

this book was one of the best I've found on css, the chapter on grid layout and flexbox layout may be of use here https://www.manning.com/books/css-in-depth