New: Added scroll snapping to horizontal lists

This commit is contained in:
lscambo13 committed 2026-06-28 20:39:17 +05:30
1 parent c95c635bb8
commit 3c4e59be76
1 file changed
+4
+4
View File
@@ -974,6 +974,8 @@ select {
padding: var(--padding);
transition: width 0.5s;
box-sizing: content-box;
scroll-snap-align: center;
scroll-snap-stop: always;
}
/* this makes the cards bigger and center aligned on older browsers */
@@ -1125,6 +1127,8 @@ select {
.emby-scroller,
.scrollX {
padding-left: var(--sidePadding);
scroll-snap-type: x proximity;
scroll-padding-inline: var(--sidePadding);
}
.sectionTabs .scrollX {