Skip to content

Commit 75dddb7

Browse files
committed
Fix the position of the logger in the test
1 parent 125bba8 commit 75dddb7

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

test/index.html

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
<script src="../jquery.mousewheel.js"></script>
2020

2121
<style>
22+
#stage {
23+
position: relative;
24+
}
2225
#test1 {
2326
background-color: #000;
2427
width: 120px;
@@ -85,11 +88,12 @@
8588

8689
#logger {
8790
position: absolute;
88-
top: 395px;
89-
left: 12px;
90-
width: 460px;
91-
height: 290px;
91+
top: 100px;
92+
left: 0px;
93+
width: 480px;
94+
height: 310px;
9295
overflow: auto;
96+
z-index: 100;
9397
}
9498

9599
#logger p {
@@ -313,20 +317,21 @@ <h2 id="userAgent"></h2>
313317
</ul>
314318

315319

316-
<div id="test1"><p>Test1</p></div>
317-
<div id="test2"><p>Test2</p></div>
318-
<div id="test3"><p>Test3</p></div>
319-
<div id="test4"><p>Test4</p></div>
320-
<div id="test5">
321-
<p>Test5</p>
322-
<div id="test6">
323-
<p>Test6</p>
324-
<div id="test7"><p>Test7</p></div>
320+
<div id="stage">
321+
<div id="test1"><p>Test1</p></div>
322+
<div id="test2"><p>Test2</p></div>
323+
<div id="test3"><p>Test3</p></div>
324+
<div id="test4"><p>Test4</p></div>
325+
<div id="test5">
326+
<p>Test5</p>
327+
<div id="test6">
328+
<p>Test6</p>
329+
<div id="test7"><p>Test7</p></div>
330+
</div>
325331
</div>
332+
<div id="logger"></div>
326333
</div>
327334

328-
<div id="logger"></div>
329-
330335
<div id="forceScroll"></div>
331336
</body>
332337
</html>

0 commit comments

Comments
 (0)