Fix: 修复移动端下使用vh会导致footerlayer元素高度超过视口
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
max-height: calc(100vh - var(--footer-height) - var(--nav-height) - 25px);
|
max-height: calc(100dvh - var(--footer-height) - var(--nav-height) - 25px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer-layer > .footer-layer-content > .layui-layer-title {
|
.footer-layer > .footer-layer-content > .layui-layer-title {
|
||||||
|
|||||||
@@ -49,5 +49,10 @@
|
|||||||
.footer-layer-example .layui-tree-iconClick .layui-icon {
|
.footer-layer-example .layui-tree-iconClick .layui-icon {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div[m-id="{{d.mId}}"] {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<div class="example-tree-body page-item"></div>
|
<div m-id={{d.mId}} class="example-tree-body"></div>
|
||||||
Reference in New Issue
Block a user