Skip to content

Commit 10de424

Browse files
davidfhainesjtblin
authored andcommitted
applied legend li span styling to *-legend-icon only (references #366) (#369)
1 parent 35d696f commit 10de424

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

angular-chart.less

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@
1616
padding: 2px 8px 2px 28px;
1717
font-size: smaller;
1818
cursor: default;
19-
20-
span {
21-
display: block;
22-
position: absolute;
23-
left: 0;
24-
top: 0;
25-
width: 20px;
26-
height: 20px;
27-
border-radius: 5px;
28-
}
2919
}
3020
}
21+
22+
.chart-legend-icon, .bar-legend-icon, .line-legend-icon, .pie-legend-icon, .radar-legend-icon, .polararea-legend-icon, .doughnut-legend-icon {
23+
display: block;
24+
position: absolute;
25+
left: 0;
26+
top: 0;
27+
width: 20px;
28+
height: 20px;
29+
border-radius: 5px;
30+
}

0 commit comments

Comments
 (0)