提交 9f85ffd2 authored 作者: kxjia's avatar kxjia

修改 验证组件样式

上级 9ee7229c
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
title="校验结果" title="校验结果"
width="55%" width="55%"
:footer="{ show: true }" :footer="{ show: true }"
height="100%"
> >
<template #default> <template #default>
<div class="validation-results"> <div class="validation-results">
...@@ -302,8 +303,10 @@ defineExpose({ ...@@ -302,8 +303,10 @@ defineExpose({
<style lang="less" scoped> <style lang="less" scoped>
.validation-results { .validation-results {
padding: 20px; padding: 20px;
height: 600px; height: calc(100vh-10px);
overflow-y: auto; overflow-y: auto;
display: flex;
flex-direction: column;
} }
.result-summary { .result-summary {
...@@ -371,6 +374,8 @@ defineExpose({ ...@@ -371,6 +374,8 @@ defineExpose({
.results-list { .results-list {
margin-top: 10px; margin-top: 10px;
flex: 1;
overflow-y: auto;
} }
.result-item { .result-item {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论