mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-10 14:11:42 +00:00
[MNT-25110] Unwanted duplicated Horizontal scrollbar (#11079)
This commit is contained in:
committed by
GitHub
parent
8978e24c79
commit
613de66244
@@ -1,7 +1,7 @@
|
|||||||
<div
|
<div
|
||||||
role="grid"
|
role="grid"
|
||||||
*ngIf="data"
|
*ngIf="data"
|
||||||
class="adf-full-width adf-datatable-list"
|
class="adf-datatable-list"
|
||||||
[class.adf-sticky-header]="isStickyHeaderEnabled()"
|
[class.adf-sticky-header]="isStickyHeaderEnabled()"
|
||||||
[class.adf-datatable--empty]="(isEmpty() && !isHeaderVisible()) || loading"
|
[class.adf-datatable--empty]="(isEmpty() && !isHeaderVisible()) || loading"
|
||||||
[class.adf-datatable--empty--header-visible]="isEmpty() && isHeaderVisible()"
|
[class.adf-datatable--empty--header-visible]="isEmpty() && isHeaderVisible()"
|
||||||
|
@@ -19,6 +19,7 @@ $data-table-cell-min-width-file-size: $data-table-cell-min-width-1 !default;
|
|||||||
.adf-datatable {
|
.adf-datatable {
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
display: block;
|
||||||
|
|
||||||
.adf-full-width {
|
.adf-full-width {
|
||||||
width: 100%;
|
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);
|
border: 1px solid var(--adf-theme-foreground-text-color-007);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
min-width: 100%;
|
||||||
|
width: fit-content;
|
||||||
|
|
||||||
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
|
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
|
||||||
.adf-datatable-center-size-column-ie {
|
.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 {
|
.adf-datatable-body {
|
||||||
display: block;
|
display: block;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
overflow-y: scroll;
|
overflow: hidden auto;
|
||||||
margin-top: -1px;
|
margin-top: -1px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user