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