style(测试用例): 修复测试用例导出已选字段超过默认高度展示不全无法删除和拖动字段

This commit is contained in:
xinxin.wu 2024-08-14 18:33:18 +08:00 committed by 刘瑞斌
parent bc0bbcdc32
commit 8b6dff99b1
1 changed files with 7 additions and 2 deletions

View File

@ -143,7 +143,7 @@
</div> </div>
<MsButton @click="handleReset">{{ t('system.orgTemplate.clear') }}</MsButton> <MsButton @click="handleReset">{{ t('system.orgTemplate.clear') }}</MsButton>
</div> </div>
<div class="p-[16px]"> <div class="selected-panel p-[16px]">
<VueDraggable v-model="selectedList" ghost-class="ghost"> <VueDraggable v-model="selectedList" ghost-class="ghost">
<div <div
v-for="element in selectedList" v-for="element in selectedList"
@ -489,7 +489,7 @@
display: flex; display: flex;
overflow: hidden; overflow: hidden;
width: 100%; width: 100%;
height: 100%; height: calc(100vh - 112px);
border: 1px solid var(--color-text-n8); border: 1px solid var(--color-text-n8);
// //
.optional-field { .optional-field {
@ -504,6 +504,11 @@
background: var(--color-text-n9); background: var(--color-text-n9);
@apply flex flex-row items-center justify-between; @apply flex flex-row items-center justify-between;
} }
.selected-panel {
height: calc(100vh - 152px);
@apply overflow-y-auto;
.ms-scroll-bar();
}
} }
} }
.ghost { .ghost {