danemery-ai2 commited on
Commit
eeb1750
·
unverified ·
1 Parent(s): b077021

Fix legend rendering bug (#69)

Browse files
Files changed (1) hide show
  1. content.py +2 -6
content.py CHANGED
@@ -669,7 +669,7 @@ html {
669
  }
670
  /* Plot legend styles */
671
  .plot-legend-container {
672
- height: 572px;
673
  background-color: #fff;
674
  padding: 24px 32px;
675
  }
@@ -692,12 +692,10 @@ html {
692
  }
693
 
694
  .plot-legend-item {
 
695
  margin-top: 8px;
696
  }
697
 
698
- .plot-legend-item-text {
699
- display: inline-block;
700
- }
701
 
702
  .plot-legend-item-text .description {
703
  color: #888;
@@ -705,8 +703,6 @@ html {
705
  }
706
 
707
  .plot-legend-item-svg {
708
- display: inline-block;
709
- vertical-align: top;
710
  margin-top: 3px;
711
  width: 14px;
712
  height: 14px;
 
669
  }
670
  /* Plot legend styles */
671
  .plot-legend-container {
672
+ min-height: 572px;
673
  background-color: #fff;
674
  padding: 24px 32px;
675
  }
 
692
  }
693
 
694
  .plot-legend-item {
695
+ display: flex;
696
  margin-top: 8px;
697
  }
698
 
 
 
 
699
 
700
  .plot-legend-item-text .description {
701
  color: #888;
 
703
  }
704
 
705
  .plot-legend-item-svg {
 
 
706
  margin-top: 3px;
707
  width: 14px;
708
  height: 14px;