From e3710f0e16ad4347ce23eda9f571d6815b20c5bd Mon Sep 17 00:00:00 2001 From: Arjun Choudhary Date: Thu, 24 Nov 2022 15:53:45 +0530 Subject: [PATCH] chore: update tooltip styles * max-width for tooltip label * remove ellipsis * use normal white-space wrapping --- src/css/charts.scss | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/css/charts.scss b/src/css/charts.scss index 7cb36f8..ba62968 100644 --- a/src/css/charts.scss +++ b/src/css/charts.scss @@ -176,11 +176,12 @@ .tooltip-label { margin-top: 4px; font-size: 11px; - line-height: 1.25; - max-width: 150px; - white-space: normal; + max-width: 100px; - color: var(--charts-tooltip-label); + color: var(--fr-tooltip-label); + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; } .tooltip-value { @@ -188,4 +189,4 @@ } } } -} +} \ No newline at end of file