From b5ce7e1605286ae2224d0f68ac3ac8753cf677e9 Mon Sep 17 00:00:00 2001 From: marcialfps Date: Tue, 15 Feb 2022 12:58:27 +0100 Subject: [PATCH] [Patch] Horizontal scroll in table component --- projects/dxc-ngx-cdk/src/lib/dxc-table/dxc-table.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/dxc-ngx-cdk/src/lib/dxc-table/dxc-table.component.ts b/projects/dxc-ngx-cdk/src/lib/dxc-table/dxc-table.component.ts index f416bf9c5..4203f4cfb 100644 --- a/projects/dxc-ngx-cdk/src/lib/dxc-table/dxc-table.component.ts +++ b/projects/dxc-ngx-cdk/src/lib/dxc-table/dxc-table.component.ts @@ -62,9 +62,10 @@ export class DxcTableComponent { div#divTable { ${this.utils.getMargins(inputs.margin)} ${this.calculateWidth(inputs.margin)}; - overflow-y: auto; + overflow: auto; &::-webkit-scrollbar { width: 8px; + height: 8px; } &::-webkit-scrollbar-thumb { background-color: var(--table-scrollBarThumbColor);