提交 ecf32348 编写于 作者: Y Yuin Chien

Revert "fixed ios iframe height issue & ios scrolling"

This reverts commit d1474e87.
上级 d1474e87
......@@ -39,9 +39,7 @@
</div>
<div id="iframe-wrapper">
<iframe name="viewer"></iframe>
</div>
<iframe name="viewer"></iframe>
<script src="list.js"></script>
......@@ -428,9 +426,10 @@
}
document.getElementById('iframe-wrapper').replaceChild( iframe, oldIframe );
document.body.replaceChild( iframe, oldIframe );
document.title = subtitle + 'three.js docs';
}
function decomposePageName( pageName, oldDelimiter, newDelimiter ) {
......
......@@ -255,7 +255,6 @@ h1 a {
flex: 1;
overflow-y: scroll;
overflow-x: hidden;
-webkit-overflow-scrolling: touch;
padding: 0 var(--panel-padding) var(--panel-padding) var(--panel-padding);
}
......@@ -312,21 +311,15 @@ h1 a {
padding-right: 2px;
}
iframe {
border: 0px;
width: 100%;
height: 100%;
}
#viewer,
#iframe-wrapper {
iframe {
position: absolute;
border: 0px;
left: 0;
right: 0;
width: 100%;
height: 100%;
overflow: auto;
-webkit-overflow-scrolling: touch;
}
#viewer {
......@@ -507,7 +500,7 @@ iframe {
transform: translate3d(-380px, 0 ,0);
}
#viewer,
#iframe-wrapper {
iframe {
left: 0;
top: var(--header-height);
width: 100%;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册