From cf5d3ae0ff05915e22ec58c1f984112b2f94afed Mon Sep 17 00:00:00 2001 From: dan_the_3rd <43445237+danthe3rd@users.noreply.github.com> Date: Thu, 30 Sep 2021 14:06:18 +0200 Subject: [PATCH] Rotate Labels: Fix bugs and feedback (#214) * Fix bugs and feedback * Firefox requires elements with at least 1px width to display them Co-authored-by: danthe3rd --- src/parallel/parallel.tsx | 66 +++++++++++++++++++++------------------ 1 file changed, 35 insertions(+), 31 deletions(-) diff --git a/src/parallel/parallel.tsx b/src/parallel/parallel.tsx index 904c8aef..7d7cc1ca 100644 --- a/src/parallel/parallel.tsx +++ b/src/parallel/parallel.tsx @@ -64,7 +64,7 @@ export interface ParallelPlotDisplayData { export interface ParallelPlotData extends HiPlotPluginData, ParallelPlotDisplayData { }; -const TOP_MARGIN_PIXELS = 100; +const TOP_MARGIN_PIXELS = 80; export class ParallelPlot extends React.Component { on_resize: () => void = null; m = [ @@ -157,6 +157,7 @@ export class ParallelPlot extends React.Component