Parcourir la source

graph legend: fix phantomjs rendering when legend is on the right

Alexander Zobnin il y a 7 ans
Parent
commit
9e15d47e13
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      public/sass/components/_panel_graph.scss

+ 2 - 1
public/sass/components/_panel_graph.scss

@@ -121,7 +121,8 @@
 .body--phantomjs {
   .graph-panel--legend-right {
     .graph-legend {
-      display: inline-block;
+      display: block;
+      max-width: min-content;
     }
 
     .graph-panel__chart {