@prologic@twtxt.net Yes I been thinking about the same. Epecially if when we are to have more filter.
I would go for putting the filters in an <aside>-menu and the make it collapsible on mobile. Maybe make a setting for pinning some filters like Mentions entions and then have the other hidden under a “More…”-label

⤋ Read More

@darch@neotxt.dk Yeah, I’ve done it before with flexbox like this in my project:

.ScollingContainer {
    display: flex;
    padding: .5em 2em; /* to your liking*/
    gap: 1em; /* the gap between the elements */
    overflow: auto;  /* make it scrollable */
}

Keep in mind that this approach (or the one in the link you found) needs the container to be as wide as the screen if you want is to look nice and not crop on the sides.

The container should be outside any container with the content pushed inside by the same amount as the container, at least on the left.

⤋ Read More

@darch@neotxt.dk Cool, usually the gradient is good when you have a closed area but if you don’t want an extra padding, you need JS. A way to fix it is to have the gradient only on the right with more space to scroll until it’s not covering the items below.

⤋ Read More

Participate

Login to join in on this yarn.