Discover: fix sidebarTraces style :deep code.

This commit is contained in:
chiayin
2023-03-27 15:42:59 +08:00
parent 6a50ae5f71
commit 7107ca6ee3
3 changed files with 37 additions and 11 deletions

View File

@@ -195,17 +195,17 @@ export default {
<style scoped>
/* 進度條顏色 */
:deep .p-progressbar .p-progressbar-value {
:deep(.p-progressbar .p-progressbar-value) {
@apply bg-primary
}
/* Table set */
:deep .p-datatable-thead th {
:deep(.p-datatable-thead th) {
@apply sticky top-0 left-0 z-10 bg-neutral-10
}
:deep .p-datatable .p-datatable-thead > tr > th {
:deep(.p-datatable .p-datatable-thead > tr > th) {
@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 {
:deep(.p-datatable .p-datatable-tbody > tr > td) {
@apply border-neutral-500 !border-t-0
}
</style>