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