Skip to content

Commit c5a25e9

Browse files
committed
feat(home): frozen columns
close #92
1 parent c367b22 commit c5a25e9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

os-checks/pages/index.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ const progressRatio = computed(() => {
114114
</div>
115115
</template>
116116

117-
<Column field="idx" header="序号" expander style="min-width: 80px" />
117+
<Column field="idx" header="序号" expander frozen style="min-width: 80px" />
118118

119-
<Column field="user" header="User" sortable style="min-width: 160px" />
119+
<Column field="user" header="User" sortable frozen style="min-width: 160px" />
120120

121-
<Column field="repo" header="Repo" sortable style="min-width: 200px">
121+
<Column field="repo" header="Repo" sortable frozen style="min-width: 200px">
122122
<!-- PrimeVue 的 bug,不支持 #body="{data}" https://github.com/primefaces/primevue/issues/5855 -->
123123
<template #body="{ node: { data } }">
124124
<NuxtLink :to="`/${data.user}/${data.repo}`" class="nav-link">
@@ -127,7 +127,7 @@ const progressRatio = computed(() => {
127127
</template>
128128
</Column>
129129

130-
<Column field="pkg" header="Package" sortable style="width: 200px" />
130+
<Column field="pkg" header="Package" frozen sortable style="min-width: 180px" />
131131

132132
<Column field="total_count" header="报告数量" sortable style="min-width: 120px; word-break: keep-all;" />
133133

0 commit comments

Comments
 (0)