From 62da933c2e89dba6a30263732e6758e46f2a7ee1 Mon Sep 17 00:00:00 2001 From: Artem Dzhereleiko Date: Wed, 16 Aug 2023 15:23:05 +0300 Subject: [PATCH] UI: Add style only for table widget --- ui-ngx/src/styles.scss | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/ui-ngx/src/styles.scss b/ui-ngx/src/styles.scss index 4879f1894e..a584985924 100644 --- a/ui-ngx/src/styles.scss +++ b/ui-ngx/src/styles.scss @@ -690,20 +690,24 @@ mat-label { table-layout: auto; border-collapse: separate; margin: 0; + } - .mat-mdc-row { - font-size: 13px; - } + .tb-table-widget { + .mat-mdc-table { + .mat-mdc-row { + font-size: 13px; + } - .mat-mdc-cell { - background: inherit; - color: inherit; - font-size: inherit; - font-family: inherit; - font-weight: inherit; - line-height: inherit; - letter-spacing: inherit; - text-transform: inherit; + .mat-mdc-cell { + background: inherit; + color: inherit; + font-size: inherit; + font-family: inherit; + font-weight: inherit; + line-height: inherit; + letter-spacing: inherit; + text-transform: inherit; + } } }