Skip to content

Commit

Permalink
fix: remove height limit h-360px
Browse files Browse the repository at this point in the history
  • Loading branch information
codearhat committed Nov 16, 2022
1 parent 94098d0 commit b5c570a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/views/dashboard/analysis/components/BottomPart/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,14 @@
<n-grid :x-gap="16" :y-gap="16" :item-responsive="true">
<n-grid-item span="0:24 640:24 1024:8">
<n-card title="时间线" :bordered="false" class="rounded-16px shadow-sm">
<div class="h-360px">
<n-timeline>
<n-timeline-item v-for="item in timelines" :key="item.type" v-bind="item" />
</n-timeline>
</div>
<n-timeline>
<n-timeline-item v-for="item in timelines" :key="item.type" v-bind="item" />
</n-timeline>
</n-card>
</n-grid-item>
<n-grid-item span="0:24 640:24 1024:16">
<n-card title="表格" :bordered="false" class="rounded-16px shadow-sm">
<div class="h-360px">
<n-data-table size="small" :columns="columns" :data="tableData" />
</div>
<n-data-table size="small" :columns="columns" :data="tableData" />
</n-card>
</n-grid-item>
</n-grid>
Expand Down

0 comments on commit b5c570a

Please sign in to comment.