diff --git a/src/components/tree/Tree.vue b/src/components/tree/Tree.vue index d13f5cf91..6cda471ea 100755 --- a/src/components/tree/Tree.vue +++ b/src/components/tree/Tree.vue @@ -327,7 +327,7 @@ export default { min-height: 4em; } -.p-tree-loading-mask { +.p-tree .p-tree-loading-mask { position: absolute; z-index: 1; display: flex; diff --git a/src/components/treetable/TreeTable.vue b/src/components/treetable/TreeTable.vue index d6173392b..003c43c32 100755 --- a/src/components/treetable/TreeTable.vue +++ b/src/components/treetable/TreeTable.vue @@ -969,9 +969,7 @@ export default { display: none; } - -/* Loader */ -.p-treetable-loading-overlay { +.p-treetable .p-treetable-loading-overlay { position: absolute; display: flex; align-items: center;