Skip to content

Commit

Permalink
Add "pointer-events: none" for pie labels
Browse files Browse the repository at this point in the history
Ensures that labels don't capture hover events, causing the slice
to not be highlighted when passing cursor over the label
  • Loading branch information
maackle committed Jun 17, 2016
1 parent 9082027 commit 0a35ef6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dc.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ div.dc-chart {
fill-opacity: .8;
}

.dc-chart .pie-label {
pointer-events: none;
}

.dc-chart .pie-path {
fill:none;
stroke-width: 2px;
Expand Down

0 comments on commit 0a35ef6

Please sign in to comment.