style(测试计划): 调整高度

This commit is contained in:
teukkk 2024-08-12 11:51:43 +08:00 committed by 刘瑞斌
parent be98b48492
commit 2dc7eb8675
8 changed files with 9 additions and 14 deletions

View File

@ -347,7 +347,7 @@
const virtualListProps = computed(() => {
return {
height: 'calc(100vh - 240px)',
height: 'calc(100vh - 200px)',
threshold: 200,
fixedSize: true,
buffer: 15,

View File

@ -317,7 +317,7 @@
scroll: { x: '100%' },
tableKey: TableKeyEnum.TEST_PLAN_DETAIL_API_CASE,
showSetting: true,
heightUsed: 460,
heightUsed: 445,
showSubdirectory: true,
draggable: { type: 'handle' },
draggableCondition: true,

View File

@ -85,7 +85,7 @@
const virtualListProps = computed(() => {
return {
height: 'calc(100vh - 408px)',
height: 'calc(100vh - 390px)',
threshold: 200,
fixedSize: true,
buffer: 15, // 10 padding

View File

@ -299,7 +299,7 @@
scroll: { x: '100%' },
tableKey: TableKeyEnum.TEST_PLAN_DETAIL_API_CASE,
showSetting: true,
heightUsed: 460,
heightUsed: 445,
showSubdirectory: true,
draggable: { type: 'handle' },
draggableCondition: true,

View File

@ -79,7 +79,7 @@
const virtualListProps = computed(() => {
return {
height: 'calc(100vh - 408px)',
height: 'calc(100vh - 390px)',
threshold: 200,
fixedSize: true,
buffer: 15, // 10 padding

View File

@ -373,7 +373,7 @@
scroll: { x: '100%' },
tableKey: TableKeyEnum.TEST_PLAN_DETAIL_FEATURE_CASE_TABLE,
showSetting: true,
heightUsed: 460,
heightUsed: 445,
showSubdirectory: true,
draggable: { type: 'handle' },
draggableCondition: true,
@ -800,24 +800,19 @@
:deep(.param-input:not(.arco-input-focus, .arco-select-view-focus)) {
&:not(:hover) {
border-color: transparent !important;
.arco-input::placeholder {
@apply invisible;
}
.arco-select-view-icon {
@apply invisible;
}
.arco-select-view-value {
color: var(--color-text-brand);
}
}
}
.list-show-type {
padding: 0;
:deep(.arco-radio-button-content) {
padding: 4px 6px;
}

View File

@ -80,7 +80,7 @@
const virtualListProps = computed(() => {
return {
height: 'calc(100vh - 408px)',
height: 'calc(100vh - 390px)',
threshold: 200,
fixedSize: true,
buffer: 15, // 10 padding

View File

@ -103,8 +103,8 @@
class="relative mx-[16px] border-b"
/>
</MsCard>
<!-- special-height的174: 上面卡片高度158 + mt的16 -->
<MsCard class="mt-[16px]" :special-height="174" simple has-breadcrumb no-content-padding>
<!-- special-height的169: 上面卡片高度153 + mt的16 -->
<MsCard class="mt-[16px]" :special-height="169" simple has-breadcrumb no-content-padding>
<Plan v-if="activeTab === 'plan'" :plan-id="planId" :status="detail.status || 'PREPARED'" @refresh="initDetail" />
<FeatureCase
v-else-if="activeTab === 'featureCase'"