style: 修复报告详情展示&代码编辑器测试bug修复&等ui样式

This commit is contained in:
xinxin.wu 2024-05-09 18:00:57 +08:00 committed by 刘瑞斌
parent 10a9345e56
commit 58a069dc82
4 changed files with 9 additions and 6 deletions

View File

@ -1,5 +1,9 @@
<template>
<div ref="fullRef" class="flex flex-col rounded-[var(--border-radius-small)] bg-[var(--color-fill-1)] p-[12px]">
<div
ref="fullRef"
class="flex flex-col rounded-[var(--border-radius-small)] bg-[var(--color-fill-1)] p-[12px]"
:class="[!isAdaptive ? 'h-full' : '']"
>
<div v-if="showTitleLine" class="mb-[8px] flex items-center justify-between">
<div class="flex flex-wrap gap-[4px]">
<a-select
@ -391,11 +395,9 @@
<style lang="less" scoped>
.ms-code-editor {
width: 100%;
width: v-bind(width);
height: v-bind(codeheight);
@apply z-10;
// height: 100vh;
// &.MS-text[data-mode-id='plaintext'] {
// :deep(.mtk1) {

View File

@ -22,6 +22,7 @@
action-on-node-click="expand"
disabled-title-tooltip
block-node
hide-switcher
@select="(selectedKeys, node) => handleStepSelect(selectedKeys, node as ScenarioItemType)"
@expand="handleStepExpand"
@more-actions-close="() => setFocusNodeKey('')"

View File

@ -79,7 +79,7 @@
<template #title="nodeData">
<div :id="nodeData.id" class="inline-flex w-full gap-[8px]">
<div class="one-line-text w-full text-[var(--color-text-1)]">{{ nodeData.name }}</div>
<div class="ml-[4px] text-[var(--color-text-brand)]">{{ nodeData.count || 0 }}</div>
<div class="ms-tree-node-count ml-[4px] text-[var(--color-text-brand)]">{{ nodeData.count || 0 }}</div>
</div>
</template>
<template v-if="!props.readOnly" #extra="nodeData">

View File

@ -14,7 +14,7 @@
<template #left>
<a-popover title="" position="bottom">
<div class="show-table-top-title">
<div class="one-line-text max-h-[32px] max-w-[116px] text-[var(--color-text-1)]">
<div class="one-line-text max-h-[32px] max-w-[300px] text-[var(--color-text-1)]">
{{ moduleNamePath }}
</div>
<span class="text-[var(--color-text-4)]"> ({{ props.modulesCount[props.activeFolder] || 0 }})</span>