Skip to content

Commit

Permalink
Update overlay style fixed #16416
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Oct 16, 2024
1 parent 1cb1f43 commit d0a9c02
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/components/treetable/style/treetablestyle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const theme = ({ dt }) => `
/* Loader */
.p-treetable-mask {
position: absolute;
position: absolute !important;
display: flex;
align-items: center;
justify-content: center;
Expand Down
8 changes: 4 additions & 4 deletions src/app/components/treetable/treetable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { CommonModule, DOCUMENT, isPlatformBrowser } from '@angular/common';
import {
AfterContentInit,
AfterViewInit,
booleanAttribute,
ChangeDetectionStrategy,
ChangeDetectorRef,
Component,
Expand All @@ -11,10 +12,12 @@ import {
EventEmitter,
HostListener,
Inject,
inject,
Injectable,
Input,
NgModule,
NgZone,
numberAttribute,
OnChanges,
OnDestroy,
OnInit,
Expand All @@ -26,9 +29,6 @@ import {
TemplateRef,
ViewChild,
ViewEncapsulation,
booleanAttribute,
inject,
numberAttribute,
} from '@angular/core';
import {
BlockableUI,
Expand Down Expand Up @@ -136,7 +136,7 @@ export class TreeTableService {
}"
>
<div class="p-treetable-loading" *ngIf="loading && showLoader">
<div class="p-treetable-mask p-overlay-mask">
<div class="p-overlay-mask p-treetable-mask">
<i *ngIf="loadingIcon" [class]="'p-treetable-loading-icon pi-spin ' + loadingIcon"></i>
<ng-container *ngIf="!loadingIcon">
<SpinnerIcon *ngIf="!loadingIconTemplate" [spin]="true" [styleClass]="'p-treetable-loading-icon'" />
Expand Down

0 comments on commit d0a9c02

Please sign in to comment.