mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-23 14:13:21 +01:00
Snap stop need to be the children, not parent
This commit is contained in:
parent
374b8d97d5
commit
206d40c0a4
1 changed files with 1 additions and 1 deletions
|
@ -439,13 +439,13 @@ a.mention span {
|
||||||
/* scroll-behavior: smooth; */
|
/* scroll-behavior: smooth; */
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
overscroll-behavior: contain;
|
overscroll-behavior: contain;
|
||||||
scroll-snap-stop: always;
|
|
||||||
}
|
}
|
||||||
.carousel::-webkit-scrollbar {
|
.carousel::-webkit-scrollbar {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
.carousel > * {
|
.carousel > * {
|
||||||
scroll-snap-align: center;
|
scroll-snap-align: center;
|
||||||
|
scroll-snap-stop: always;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
Loading…
Add table
Reference in a new issue