日志样式修复
This commit is contained in:
parent
7a34437ab2
commit
2d9d9ee316
1 changed files with 15 additions and 3 deletions
|
@ -6,9 +6,21 @@ const log_ele = inject('log_ele')
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<n-config-provider :theme="darkTheme" style="flex-grow: 1">
|
||||
<n-card style="height: 100%">
|
||||
<n-log :log="log" style="height: 100%" ref="log_ele" />
|
||||
<n-config-provider :theme="darkTheme" class="provider">
|
||||
<n-card class="full" ref="log_ele" content-style="height: 100%">
|
||||
<n-log :log="log" class="full" />
|
||||
</n-card>
|
||||
</n-config-provider>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.provider {
|
||||
flex-grow: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.full {
|
||||
height: 100% !important;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in a new issue