소스 검색

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 {