Skip to content

Commit

Permalink
#167 fix marker lable in Safari and IE
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Mrowetz committed Mar 25, 2017
1 parent b15feb4 commit 76c6248
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 0 additions & 2 deletions src/css-raw/perf-cascade.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
.water-fall-chart .line-end.active,
.water-fall-chart .line-start.active {display: block;}

.water-fall-chart .mark-holder text {writing-mode:vertical-lr;}

.left-fixed-holder .label-full-bg {fill: #fff; opacity: 0.9;}

.time-scale line {stroke:#0cc; stroke-width:1;}
Expand Down
1 change: 1 addition & 0 deletions src/ts/waterfall/sub-components/svg-marks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export function createMarks(context: Context, marks: Mark[]) {
let lineHolder = svg.newG("line-holder");
let lineLabelHolder = svg.newG("line-label-holder");
let lineLabel = svg.newTextEl(mark.name, { x: x + "%", y: diagramHeight + 25 });
lineLabel.setAttribute("writing-mode", "tb");
let lineRect: SVGGElement;
mark.x = x;

Expand Down

0 comments on commit 76c6248

Please sign in to comment.