瀏覽代碼

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

Alexander Zobnin 7 年之前
父節點
當前提交
9e15d47e13
共有 1 個文件被更改,包括 2 次插入1 次删除
  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 {