Commit 9c42edbf authored by zhengke's avatar zhengke

优化 滚动

parent 6d628edd
......@@ -8,7 +8,7 @@
<CanvasTool class="center-top" />
<div style="height: 873px;overflow: scroll;">
<!-- <Canvas class="center-body" :style="{ height: `calc(100% - 40px)`}" /> -->
<Canvas class="center-body" :style="{ height: viewportRatio<1?'calc(1240px - 375px)':'calc(1754px - 900px)'}" />
<Canvas class="center-body" :style="{ height: viewportRatio<1?'calc(1240px - 40px)':'calc(1754px - 40px)'}" />
</div>
<!-- <Remark
......
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