[MNT-25110] Unwanted duplicated Horizontal scrollbar (#11079)

This commit is contained in:
dominikiwanekhyland
2025-07-31 11:33:10 +02:00
committed by GitHub
parent 8978e24c79
commit 613de66244
2 changed files with 5 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
<div
role="grid"
*ngIf="data"
class="adf-full-width adf-datatable-list"
class="adf-datatable-list"
[class.adf-sticky-header]="isStickyHeaderEnabled()"
[class.adf-datatable--empty]="(isEmpty() && !isHeaderVisible()) || loading"
[class.adf-datatable--empty--header-visible]="isEmpty() && isHeaderVisible()"

View File

@@ -19,6 +19,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
.adf-datatable {
overflow-y: scroll;
height: 100%;
display: block;
.adf-full-width {
width: 100%;
@@ -60,6 +61,8 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
border: 1px solid var(--adf-theme-foreground-text-color-007);
box-sizing: border-box;
overflow-x: auto;
min-width: 100%;
width: fit-content;
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
.adf-datatable-center-size-column-ie {
@@ -671,7 +674,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
.adf-datatable-body {
display: block;
flex: 1;
overflow-y: scroll;
overflow: hidden auto;
margin-top: -1px;
}
}