1
0
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:
elsiosanchez 2020-05-06 11:11:47 -04:00 committed by GitHub
parent e14171f335
commit e424b84768
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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