From a7ae8f329e3439b9b0b98c8b06cc0fb489c64446 Mon Sep 17 00:00:00 2001 From: Stepan Nikoghosyan Date: Fri, 6 Sep 2024 16:08:08 +0400 Subject: [PATCH] fix(addon-table): TuiTableDirective Content Security Policy error v4 (#8872) --- .../addon-table/components/table/directives/table.directive.ts | 1 - .../addon-table/components/table/directives/table.style.less | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/projects/addon-table/components/table/directives/table.directive.ts b/projects/addon-table/components/table/directives/table.directive.ts index 6cb72579bf88..73d1c95d7257 100644 --- a/projects/addon-table/components/table/directives/table.directive.ts +++ b/projects/addon-table/components/table/directives/table.directive.ts @@ -54,7 +54,6 @@ class TuiTableStyles {} ], hostDirectives: [TuiStuck], host: { - style: 'border-collapse: separate', '[attr.data-size]': 'size()', }, }) diff --git a/projects/addon-table/components/table/directives/table.style.less b/projects/addon-table/components/table/directives/table.style.less index 26a39ab01850..1b34a59405a8 100644 --- a/projects/addon-table/components/table/directives/table.style.less +++ b/projects/addon-table/components/table/directives/table.style.less @@ -1,4 +1,6 @@ table[tuiTable] { + border-collapse: separate; + [tuiCell] { padding: 0; }