Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

6
CSS Grid: Hiding empty rows
Post Body

I've created a very simple menu system in this CodePen: https://codepen.io/will_beaumont/pen/yLqdzad

The key part that works is that submenu items are displayed in a grid of 4 rows with an auto column flow, so that if there are more than 4 items a new column is generated. The downside is that if there are fewer than 4 items then there's empty space leftover (see the second submenu) and I don't want this. Apologies if this is a very noob question. I tried Googling for the answer but couldn't find it. I appreciate your help in advance.

Author
Account Strength
100%
Account Age
7 years
Verified Email
Yes
Verified Flair
No
Total Karma
5,125
Link Karma
983
Comment Karma
4,129
Profile updated: 3 days ago
Posts updated: 8 hours ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago