fix: Issues #250 done.

This commit is contained in:
chiayin
2024-03-05 17:06:23 +08:00
parent 0b0bc3aa54
commit 5df24139bd
2 changed files with 10 additions and 2 deletions

View File

@@ -289,7 +289,7 @@ export default {
@apply !border-y-0 border-neutral-500 bg-neutral-100 after:absolute after:left-0 after:w-full after:h-full after:block after:top-0 after:border-b after:border-t after:border-neutral-500
}
:deep(.p-datatable .p-datatable-tbody > tr > td) {
@apply border-neutral-500 !border-t-0
@apply border-neutral-500 !border-t-0 text-center
}
:deep(.p-datatable .p-datatable-thead > tr > th) {
white-space: nowrap;
@@ -300,4 +300,8 @@ export default {
overflow-wrap: break-word;
word-wrap: break-word;
}
/* datatable head 置中 */
:deep(.p-column-header-content) {
@apply justify-center
}
</style>