Skip to content

Commit 4cbfd3c

Browse files
committed
Increase z-index for donut chart tooltip
1 parent f2d1283 commit 4cbfd3c

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

components/Visualization/DonutChart/styles.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,9 @@
22

33
.donut-tooltip {
44
@include shadow-medium;
5-
65
display: none;
76
position: absolute;
8-
z-index: 10;
7+
z-index: 111;
98
background-color: $color-foreground;
109
padding: $spacing-small $spacing-medium-alt;
1110
color: $color-text-on-foreground;

components/Visualization/HorizontalBar/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ class HorizontalBar extends PureComponent {
365365

366366
const bars = groups
367367
.append('rect')
368-
.attr('x', 0)
368+
.attr('x', 1)
369369
.attr('y', d => this.y(labelSelector(d)))
370370
.attr('height', this.y.bandwidth())
371371
.style('fill', d => this.getColor(d))

0 commit comments

Comments
 (0)