Skip to content

Commit

Permalink
fix(empty-data): use correct width for empty data (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
chintankavathia authored Jul 2, 2024
1 parent 976e4db commit 52c993e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ import { DragEventData } from '../../types/drag-events.type';
[scrollbarV]="scrollbarV"
[scrollbarH]="scrollbarH"
[scrollHeight]="scrollHeight"
[scrollWidth]="columnGroupWidths?.total"
[style.width]="scrollbarH ? columnGroupWidths?.total + 'px' : '100%'"
(scroll)="onBodyScroll($event)"
>
<div
Expand All @@ -185,7 +185,6 @@ import { DragEventData } from '../../types/drag-events.type';
[innerHTML]="emptyMessage"
></div>
<div #customEmptyContent>
{{columnGroupWidths?.total}}
<ng-content select="[empty-content]"></ng-content>
</div>
</datatable-scroller>
Expand Down

0 comments on commit 52c993e

Please sign in to comment.