Merge pull request #6908 from jamigibbs/fix/sidebar-scroll-ios

Fixes sidebar scrolling behaviour on iOS.
This commit is contained in:
Justin Richardsson
2016-02-12 20:58:49 -05:00

View File

@ -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;
@ -127,6 +134,7 @@
.fa {
position:absolute;
top:50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
right:10px;
}
@ -244,6 +252,7 @@
}
.map-aside-action-item {
display: -webkit-flex;
display: flex;
/* main axis */
justify-content: center;