# I am the Watcher. I am your guide through this vast new twtiverse.
# 
# Usage:
#     https://watcher.sour.is/api/plain/users              View list of users and latest twt date.
#     https://watcher.sour.is/api/plain/twt                View all twts.
#     https://watcher.sour.is/api/plain/mentions?uri=:uri  View all mentions for uri.
#     https://watcher.sour.is/api/plain/conv/:hash         View all twts for a conversation subject.
# 
# Options:
#     uri     Filter to show a specific users twts.
#     offset  Start index for quey.
#     limit   Count of items to return (going back in time).
# 
# twt range = 1 18
# self = https://watcher.sour.is/conv/wzcc6pq
@darch I'm thinking we should do someyhing about the filters so that the screen real estate is not so used up? -- Like maybe hide them behind something so they don't always take up the space? 🤔
@darch I'm thinking we should do someyhing about the filters so that the screen real estate is not so used up? -- Like maybe hide them behind something so they don't always take up the space? 🤔
@darch I'm thinking we should do someyhing about the filters so that the screen real estate is not so used up? -- Like maybe hide them behind something so they don't always take up the space? 🤔
@darch I'm thinking we should do someyhing about the filters so that the screen real estate is not so used up? -- Like maybe hide them behind something so they don't always take up the space? 🤔
@prologic 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
@prologic Maybe a horizontal scrolling container like on many mobile apps can be nice here.
@justamoment yes that is also a solution I've been pondering and easier to implement for now
seem straight forward: https://www.w3schools.com/howto/howto_css_menu_horizontal_scroll.asp
@darch Yeah, I've done it before with flexbox like this in my project:

s
.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.
@justamoment good to know. And I think we can either pop out the filer-nav element or use some absolute position to make it work. I also seen some implementations with a gradient fade to each side.
@justamoment good to know. And I think we can either pop out the .filer-nav element from <main> or use some absolute position to make it work. I also seen some implementations with a gradient fade to each side.

Ha! I've just noticed that code blocks already work this way and it got a nice border around it which we could render on mobile
e

Ha! I've just notic that code blocks already work this way and it got a nice border around it which we could render on mobile

Ha I've just notic that code blocks already work this way and it got a nice border around it which we could render on mobile
e
e
@darch 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.