mirror of
https://github.com/lscambo13/ElegantFin.git
synced 2026-10-26 09:39:34 +00:00
New: Added scroll snapping to horizontal lists
This commit is contained in:
1 parent
c95c635bb8
commit
3c4e59be76
1 file changed
+4
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user