Skip to content

Commit

Permalink
chore(repo): center license header and body via pure pt
Browse files Browse the repository at this point in the history
ref: #56
  • Loading branch information
zjp-CN committed Nov 9, 2024
1 parent da8d0ca commit d97055a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions os-checks/pages/repo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
</template>
</Column>

<Column sortable field="license" header="License" style="text-align: center;"
headerStyle="display:flex; justify-content: center;" />
<Column sortable field="license" header="License" :pt="ptColumn" />

</DataTable>
</div>
Expand All @@ -40,6 +39,12 @@ onMounted(() => {
});
});
// styling
const ptColumn = ref({
columnHeaderContent: { style: { "justify-content": "center" } },
bodyCell: { style: { "text-align": "center" } }
});
const summaries = ref<Output[]>([]);
githubFetch<Output[]>({
Expand Down

0 comments on commit d97055a

Please sign in to comment.