style(sj_preview): 优化重试日志样式
This commit is contained in:
parent
c09e51648e
commit
af915badd9
@ -304,6 +304,10 @@ const SnailLogComponent = defineComponent({
|
||||
</NDropdown>
|
||||
</div>
|
||||
</template>
|
||||
<div class="h-full flex-center">
|
||||
<NEmpty v-if="logList.length === 0 && finished" />
|
||||
<NSpin v-if="logList.length === 0 && !finished" />
|
||||
</div>
|
||||
<SnailLogComponent />
|
||||
</NDrawerContent>
|
||||
</NDrawer>
|
||||
@ -344,6 +348,10 @@ const SnailLogComponent = defineComponent({
|
||||
</NTooltip>
|
||||
</div>
|
||||
</template>
|
||||
<div class="h-full flex-center">
|
||||
<NEmpty v-if="logList.length === 0 && finished" />
|
||||
<NSpin v-if="logList.length === 0 && !finished" />
|
||||
</div>
|
||||
<SnailLogComponent />
|
||||
</NCard>
|
||||
</template>
|
||||
@ -353,6 +361,7 @@ const SnailLogComponent = defineComponent({
|
||||
padding: 0;
|
||||
|
||||
.virtual-list {
|
||||
height: 100vh;
|
||||
max-height: calc(100vh - 101px);
|
||||
}
|
||||
|
||||
|
@ -59,4 +59,8 @@ const visible = defineModel<boolean>('visible', {
|
||||
</DetailDrawer>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
<style scoped>
|
||||
:deep(.virtual-list) {
|
||||
max-height: calc(100vh - 166px) !important;
|
||||
}
|
||||
</style>
|
||||
|
@ -115,4 +115,8 @@ onBeforeUnmount(() => {
|
||||
</OperateDrawer>
|
||||
</template>
|
||||
|
||||
<style scoped></style>
|
||||
<style scoped>
|
||||
:deep(.virtual-list) {
|
||||
max-height: calc(100vh - 166px) !important;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user