fix style

This commit is contained in:
Qiuxia Fan 2022-05-18 14:37:17 +08:00
parent 8c7fee4d86
commit d91194add6
2 changed files with 8 additions and 2 deletions

View File

@ -16,7 +16,7 @@ limitations under the License. -->
<div class="flex-h content"> <div class="flex-h content">
<TaskList /> <TaskList />
<div class="vis-graph ml-5"> <div class="vis-graph ml-5">
<div class="item"> <div class="schedules">
<EBPFSchedules /> <EBPFSchedules />
</div> </div>
<div class="item"> <div class="item">
@ -44,7 +44,11 @@ import EBPFStack from "./components/EBPFStack.vue";
.item { .item {
width: 100%; width: 100%;
overflow: auto; overflow: auto;
height: calc(50% - 10px); height: calc(100% - 210px);
padding-bottom: 10px; padding-bottom: 10px;
} }
.schedules {
height: 200px;
}
</style> </style>

View File

@ -190,6 +190,8 @@ function visTimeline() {
height: h, height: h,
width: "100%", width: "100%",
locale: "en", locale: "en",
selectable: false,
zoomable: false,
}; };
visGraph.value = new Timeline(timeline.value, items, options); visGraph.value = new Timeline(timeline.value, items, options);
} }