Merge pull request #6978 from jamigibbs/fix/wiki-sidebar-ios
Fixes blank white wiki sidebar and scrolling in iOS
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
* based off of https://github.com/gitterHQ/sidecar
|
* based off of https://github.com/gitterHQ/sidecar
|
||||||
* license: MIT
|
* license: MIT
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#wikiFrame {
|
#wikiFrame {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@ -22,7 +22,9 @@
|
|||||||
bottom: 0;
|
bottom: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|
||||||
|
display: -webkit-flex;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
-webkit-flex-direction: row;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
|
||||||
background-color: @body-bg;
|
background-color: @body-bg;
|
||||||
@ -31,7 +33,8 @@
|
|||||||
|
|
||||||
transition: transform 0.3s cubic-bezier(0.16, 0.22, 0.22, 1.7);
|
transition: transform 0.3s cubic-bezier(0.16, 0.22, 0.22, 1.7);
|
||||||
|
|
||||||
&.is-collapsed {
|
&.is-collapsed:not(.is-loading) {
|
||||||
|
-webkit-transform: translateX(110%);
|
||||||
transform: translateX(110%);
|
transform: translateX(110%);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -80,9 +83,9 @@
|
|||||||
.wiki-aside-action-bar {
|
.wiki-aside-action-bar {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|
||||||
|
display: -webkit-flex;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
|
|
||||||
@ -136,6 +139,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.wiki-aside-action-item {
|
.wiki-aside-action-item {
|
||||||
|
display: -webkit-flex;
|
||||||
display: flex;
|
display: flex;
|
||||||
/* main axis */
|
/* main axis */
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
Reference in New Issue
Block a user