Merge pull request #2413 from thelounge/xpaw/overscroll-behavior
Use overscroll-behavior
This commit is contained in:
commit
9ce586e21d
@ -19,6 +19,7 @@
|
|||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
overscroll-behavior: none; /* prevent overscroll navigation actions */
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -500,7 +501,6 @@ kbd {
|
|||||||
#sidebar {
|
#sidebar {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
-webkit-overflow-scrolling: touch;
|
|
||||||
width: 220px;
|
width: 220px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -533,6 +533,8 @@ kbd {
|
|||||||
#sidebar .networks {
|
#sidebar .networks {
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
touch-action: pan-y;
|
touch-action: pan-y;
|
||||||
|
overscroll-behavior: contain;
|
||||||
|
-webkit-overflow-scrolling: touch;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
@ -845,6 +847,7 @@ kbd {
|
|||||||
display: none;
|
display: none;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
overscroll-behavior: contain;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1001,6 +1004,7 @@ kbd {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
overscroll-behavior: contain;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1473,6 +1477,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
|
|||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
touch-action: pan-y;
|
touch-action: pan-y;
|
||||||
|
overscroll-behavior: contain;
|
||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user