mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-08-10 20:39:48 +08:00
adjust the container to its maximum height (#487)
This commit is contained in:
parent
e14171f335
commit
e424b84768
@ -2,7 +2,7 @@
|
|||||||
<el-container
|
<el-container
|
||||||
key="form-loaded"
|
key="form-loaded"
|
||||||
class="view-base"
|
class="view-base"
|
||||||
style="height: 84vh;"
|
style="height: max-content!important;"
|
||||||
>
|
>
|
||||||
<el-header style="height: 39px;">
|
<el-header style="height: 39px;">
|
||||||
<context-menu
|
<context-menu
|
||||||
@ -17,7 +17,7 @@
|
|||||||
<el-card
|
<el-card
|
||||||
v-if="isLoaded"
|
v-if="isLoaded"
|
||||||
class="content-collapse"
|
class="content-collapse"
|
||||||
:style="isEmptyValue(metadata.fieldList) ? 'height: 75vh !important;' : ''"
|
:style="isEmptyValue(metadata.fieldList) ? 'height: max-content!important;' : ''"
|
||||||
>
|
>
|
||||||
<h3 class="warn-content text-center">
|
<h3 class="warn-content text-center">
|
||||||
<el-popover
|
<el-popover
|
||||||
|
Loading…
x
Reference in New Issue
Block a user