提交 a2b80a03 编写于 作者: WodahsOrez's avatar WodahsOrez

fix: 表单项栅格布局错位

上级 46251fd4
.app-form-group { .app-form-group {
margin: 10px 0;
.app-form-group-caption { .app-form-group-caption {
padding-left: 20px; padding-left: 20px;
} }
...@@ -8,6 +7,8 @@ ...@@ -8,6 +7,8 @@
margin-right: 20px; margin-right: 20px;
cursor: pointer; cursor: pointer;
} }
>.ivu-card{
margin: 10px 0;
>.ivu-card-body { >.ivu-card-body {
padding: 20px 5px 10px 5px; padding: 20px 5px 10px 5px;
} }
...@@ -19,7 +20,9 @@ ...@@ -19,7 +20,9 @@
margin-left: 4px; margin-left: 4px;
} }
} }
}
&.app-group-collapse-content { &.app-group-collapse-content {
>.ivu-card{
>.ivu-card-head { >.ivu-card-head {
color: var(--app-color-gray-200); color: var(--app-color-gray-200);
border-bottom: none; border-bottom: none;
...@@ -28,8 +31,10 @@ ...@@ -28,8 +31,10 @@
display: none; display: none;
} }
} }
}
&.app-group-flex { &.app-group-flex {
>.ivu-card{
height: 100%; height: 100%;
overflow-y: auto; overflow-y: auto;
overflow-x: hidden; overflow-x: hidden;
...@@ -40,4 +45,5 @@ ...@@ -40,4 +45,5 @@
overflow-x: hidden; overflow-x: hidden;
} }
} }
}
} }
\ No newline at end of file
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</app-form-group2> </app-form-group2>
</template> </template>
<template v-else> <template v-else>
<card v-if="isShowCaption === true" :dis-hover="true" :class="classes"> <card v-if="isShowCaption === true" :dis-hover="true">
<span class='app-form-group-caption' slot='title'> <span class='app-form-group-caption' slot='title'>
<icon v-if="titleBarCloseMode !== 0" :type="collapseContent ? 'md-add' : 'md-remove'" class="collapse-icon" <icon v-if="titleBarCloseMode !== 0" :type="collapseContent ? 'md-add' : 'md-remove'" class="collapse-icon"
@click="clickCollapse"></icon> @click="clickCollapse"></icon>
......
.app-form-item { .app-form-item {
height: 100%; height: 100%;
min-height: 45px;
padding: 0 15px; padding: 0 15px;
.app-form-item-label { .app-form-item-label {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册