miniblog.

← Back to all posts
3
I'm exploring how I show lists in my documentation. I like boxes for tidiness, but it's much less space efficient. Which do you prefer? I should also survey how other sites handle this.

3 Comments

@wilfredh Are the words/buttons links to a more detailed page for that particular item? If that's the case I find the buttons approach much nicer since it's easier to click around in.
@wilfredh Could the problem with the second one be all the tight boxes around each syntax element rather than the lack of a grid? This style is probably meant for a few syntax elements in a longer text and not such a list.
@wilfredh Instead of making a nice grid by setting the `width` of each item, you could make a nice grid by setting `column-width` on the parent element. Then you can make the columns narrower without worrying they'll be too narrow on a phone (it just reduces the column count), *and* each column will be sorted vertically, making it easier to find the item you're looking for.