|
@@ -2,7 +2,7 @@
|
|
|
<div class="basic-container"
|
|
|
:style="styleName"
|
|
|
:class="{'basic-container--block':block}">
|
|
|
- <el-card class="basic-container__card">
|
|
|
+ <el-card class="basic-container__card" :body-style="{'height':'100%','overflow':'auto','box-sizing':'border-box'}">
|
|
|
<slot></slot>
|
|
|
</el-card>
|
|
|
</div>
|
|
@@ -39,6 +39,7 @@ export default {
|
|
|
.basic-container {
|
|
|
padding: 10px 6px;
|
|
|
box-sizing: border-box;
|
|
|
+ height: 100%;
|
|
|
&--block {
|
|
|
height: 100%;
|
|
|
.basic-container__card {
|
|
@@ -47,6 +48,7 @@ export default {
|
|
|
}
|
|
|
&__card {
|
|
|
width: 100%;
|
|
|
+ height: 100%;
|
|
|
}
|
|
|
&:first-child {
|
|
|
padding-top: 0;
|