From f8c1852b4c3b47986d07cfc71f43789c59d4525b Mon Sep 17 00:00:00 2001 From: Evgeny Blokhin Date: Sat, 30 Mar 2024 13:40:16 +0100 Subject: [PATCH] Polish labels --- plot/legend/cmp/cmp.view.css.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plot/legend/cmp/cmp.view.css.ts b/plot/legend/cmp/cmp.view.css.ts index f3dbec7..2f75184 100644 --- a/plot/legend/cmp/cmp.view.css.ts +++ b/plot/legend/cmp/cmp.view.css.ts @@ -2,7 +2,7 @@ namespace $.$$ { $mol_style_define( $mpds_visavis_plot_legend_cmp, { - lineHeight: '1', + lineHeight: '1.3', position: 'absolute', left: 0, @@ -11,7 +11,7 @@ namespace $.$$ { padding: { bottom: $mol_gap.space, }, - + gap: $mol_gap.block, align: { items: 'center', @@ -25,6 +25,8 @@ namespace $.$$ { $mol_style_define( $mpds_visavis_plot_legend_cmp_label, { color: 'white', + fontSize: '0.8em', + fontStyle: 'italic', padding: { left: $mol_gap.space, right: $mol_gap.space,