mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-23 14:13:21 +01:00
Fix some scrolling and snaps
This commit is contained in:
parent
1c98433333
commit
374b8d97d5
1 changed files with 4 additions and 0 deletions
|
@ -38,6 +38,7 @@ a.mention span {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
transition: opacity 0.1s ease-in-out;
|
transition: opacity 0.1s ease-in-out;
|
||||||
|
overscroll-behavior: contain;
|
||||||
}
|
}
|
||||||
.deck-container[hidden] {
|
.deck-container[hidden] {
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -68,6 +69,7 @@ a.mention span {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
height: 100dvh;
|
height: 100dvh;
|
||||||
|
overscroll-behavior: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
.deck header {
|
.deck header {
|
||||||
|
@ -437,6 +439,7 @@ 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;
|
||||||
|
@ -587,6 +590,7 @@ button.carousel-dot[disabled].active {
|
||||||
box-shadow: 0 -1px 32px var(--divider-color);
|
box-shadow: 0 -1px 32px var(--divider-color);
|
||||||
animation: slide-up 0.2s var(--timing-function);
|
animation: slide-up 0.2s var(--timing-function);
|
||||||
border: 1px solid var(--outline-color);
|
border: 1px solid var(--outline-color);
|
||||||
|
overscroll-behavior: contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TAG */
|
/* TAG */
|
||||||
|
|
Loading…
Add table
Reference in a new issue