Commit 54e934bb authored by limingzhe's avatar limingzhe

fix: 出现滚动条

parent 120d05e7
......@@ -2,7 +2,7 @@
<!-- <div style=" display: flex; align-items: center; justify-content: center; width: 100%; height: 100%;"> -->
<div class="game-container" #wrap>
<div class="game-container" #wrap style="height: 100%; overflow: hidden;" >
<!-- <canvas id="canvas" style="width: 100%; height: 100%;" #canvas></canvas> -->
<div style=" width: 100%; height: 100%; background-size: cover; display: flex; align-items: center; flex-direction: column;">
......@@ -82,7 +82,7 @@
</div>
<!-- 结算界面 -->
<div *ngIf="isShowResult" style="z-index: 5; position: absolute; top:0; width: 100%; height: 100%; background-size: cover; display: flex; align-items: center; flex-direction: column;">
<div *ngIf="isShowResult" style="z-index: 5; overflow: hidden; position: absolute; top:0; width: 100%; height: 100%; background-size: cover; display: flex; align-items: center; flex-direction: column;">
<!-- 背景图 -->
<div style="width: 100%; height: 100%; position: absolute;">
<img src="assets/play/bg.jpg" style="width: 100%; height: 100%; position: absolute; "/>
......@@ -129,7 +129,7 @@
</div>
</div>
<!-- 按钮 -->
<div style="position: absolute; top: 0; margin-top: 87vh;">
<div style="position: absolute; top: 0; margin-top: 85vh;">
<div style="z-index: 2; position: relative; ">
<img src="assets/play/big_btn.png" style="height: 9.5vh; width: auto; z-index: 12;" >
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment