Scroll snap was a bad idea
This commit is contained in:
parent
82c7293308
commit
d7db845f3b
1 changed files with 0 additions and 9 deletions
|
@ -4,7 +4,6 @@
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
padding: 0 22px;
|
padding: 0 22px;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
scroll-snap-type: both mandatory;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.slotGrid {
|
.slotGrid {
|
||||||
|
@ -18,12 +17,4 @@
|
||||||
|
|
||||||
.slot {
|
.slot {
|
||||||
contain: strict;
|
contain: strict;
|
||||||
scroll-snap-align: start;
|
|
||||||
}
|
|
||||||
|
|
||||||
.slot:last-child {
|
|
||||||
/* This causes the grid to scroll up smoothly to the last item when its height
|
|
||||||
shrinks, and ensures that the user can always scroll the last row fully in
|
|
||||||
view */
|
|
||||||
scroll-snap-align: end;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue