mirror of
https://github.com/koel/koel
synced 2024-11-24 05:03:05 +00:00
Enable scrolling with momentum on iOS
This commit is contained in:
parent
42c7651031
commit
5969cf7e46
3 changed files with 13 additions and 0 deletions
|
@ -82,6 +82,11 @@
|
|||
background: $colorExtraBgr;
|
||||
max-height: calc(100vh - #{$headerHeight + $footerHeight});
|
||||
overflow: auto;
|
||||
|
||||
// Enable scroll with momentum on touch devices
|
||||
overflow-y: scroll;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
display: none;
|
||||
color: $color2ndText;
|
||||
|
||||
|
|
|
@ -102,6 +102,10 @@
|
|||
padding: 24px 24px $footerHeight;
|
||||
height: calc(100vh - #{$headerHeight + $footerHeight + $mainHeadingHeight + 24px});
|
||||
overflow: auto;
|
||||
|
||||
// Enable scroll with momentum on touch devices
|
||||
overflow-y: scroll;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.translucent {
|
||||
|
|
|
@ -91,6 +91,10 @@
|
|||
max-height: calc(100vh - #{$headerHeight + $footerHeight});
|
||||
overflow: auto;
|
||||
|
||||
// Enable scroll with momentum on touch devices
|
||||
overflow-y: scroll;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
section {
|
||||
margin-bottom: 32px;
|
||||
|
||||
|
|
Loading…
Reference in a new issue