Fixes sidebar scrolling behavior on iOS, fixes #6227
This commit is contained in:
@ -11,7 +11,13 @@
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
-webkit-flex-direction: row;
|
||||
flex-direction: row;
|
||||
|
||||
background-color: @body-bg;
|
||||
@ -21,6 +27,7 @@
|
||||
transition: transform 0.3s cubic-bezier(0.16, 0.22, 0.22, 1.7);
|
||||
|
||||
&.is-collapsed {
|
||||
-webkit-transform: translateY(110%);
|
||||
transform: translateX(110%);
|
||||
}
|
||||
|
||||
@ -52,9 +59,9 @@
|
||||
.map-aside-action-bar {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
|
||||
@ -120,6 +127,7 @@
|
||||
.fa {
|
||||
position:absolute;
|
||||
top:50%;
|
||||
-webkit-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
right:10px;
|
||||
}
|
||||
@ -237,6 +245,7 @@
|
||||
}
|
||||
|
||||
.map-aside-action-item {
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
/* main axis */
|
||||
justify-content: center;
|
||||
|
Reference in New Issue
Block a user