提交 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,18 +7,22 @@ ...@@ -8,18 +7,22 @@
margin-right: 20px; margin-right: 20px;
cursor: pointer; cursor: pointer;
} }
>.ivu-card-body { >.ivu-card{
padding: 20px 5px 10px 5px; margin: 10px 0;
} >.ivu-card-body {
>.ivu-card-extra { padding: 20px 5px 10px 5px;
right: 20px; }
top: 10px; >.ivu-card-extra {
display: flex; right: 20px;
.app-button { top: 10px;
margin-left: 4px; display: flex;
} .app-button {
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;
...@@ -27,9 +30,11 @@ ...@@ -27,9 +30,11 @@
>.ivu-card-body { >.ivu-card-body {
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;
...@@ -39,5 +44,6 @@ ...@@ -39,5 +44,6 @@
overflow-y: auto; overflow-y: auto;
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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册