From 438dec1e76ca3543e10a1764dcfff8c76f448b83 Mon Sep 17 00:00:00 2001 From: Julian von Selasinsky Date: Tue, 26 Mar 2024 11:29:08 +0100 Subject: [PATCH 1/2] Fix MDC-based Angular Material Components --- styles/material.scss | 4 ++++ xc/xc-table/xc-table.component.scss | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/styles/material.scss b/styles/material.scss index 273f3e8..4d9b3b8 100644 --- a/styles/material.scss +++ b/styles/material.scss @@ -127,6 +127,10 @@ html.cdk-global-scrollblock { font-size: $font-size-medium; padding-left: 12px; padding-right: 12px; + + .mdc-list-item__primary-text { + white-space: nowrap; + } } .mdc-list-item--disabled { diff --git a/xc/xc-table/xc-table.component.scss b/xc/xc-table/xc-table.component.scss index 6b02bb0..e945e23 100644 --- a/xc/xc-table/xc-table.component.scss +++ b/xc/xc-table/xc-table.component.scss @@ -134,6 +134,10 @@ &.activated { background-color: $xc-table-activated-entry-background-color; + .text-cell { + color: $xc-table-activated-entry-color; + } + td { color: $xc-table-activated-entry-color; } From 7a63a89896c35f7de87ef3eec104d0417c7a5c75 Mon Sep 17 00:00:00 2001 From: Julian von Selasinsky Date: Tue, 26 Mar 2024 13:40:30 +0100 Subject: [PATCH 2/2] Fix MDC-based Angular Material Components --- styles/material.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/styles/material.scss b/styles/material.scss index 4d9b3b8..f1f4889 100644 --- a/styles/material.scss +++ b/styles/material.scss @@ -310,6 +310,8 @@ html.cdk-global-scrollblock { &>label { flex: 1; text-align: right; + white-space: nowrap; + letter-spacing: normal; } } }