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

View File

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