Media query does work, I have used it in a few projects.
Good to know Thin,
Hey Robert, this code, when I apply it to my apps, it doesnât seem to work, even when Preview CSS is on.
Iâve pasted the code in correctly⌠Any idea why itâs doing this? Iâve done it on the CSS part in Appearance under Settings too and even that doesnât seem to work.
Looking at your previous post edits, I see that you had placed the CSS in the componentâs CSS Class section. That is meant for giving your component a unique CSS class name only. All CSS still goes into the Appearance setting. If you have both filled, that may still be causing issues.
I realized that earlier and put it into appearance, I removed it from class, which is why I edited my post, yet it didnât apply correctly.
If youâre using my CSS, youâll need to tag the choice component with scroll-choice
and put that choice component in a container tagged with scroll-container
This seems to work well and keeps the title of the Choice fixed. Add .horizontal-choice to the Choice component itself and not the container. However, sometimes it scrolls across smoothly and other times it feels a little sticky.
.horizontal-choice ul::-webkit-scrollbar {
display: none;
}
.horizontal-choice ul {
width: 100%;
white-space: nowrap;
overflow-x: auto;
flex-wrap: nowrap;
}