Skip to content

Commit

Permalink
#22 Update SCSS for pie chart specific title class
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishjain0512 committed Sep 11, 2019
1 parent eb9ac1b commit 398d66b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/diagrams/pie/pieRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export const draw = (txt, id, ver) => {
.text(parser.yy.getTitle())
.attr('x', 0)
.attr('y', -(h - 50) / 2)
.attr('class', 'titleText')
.attr('class', 'pieTitleText')
} catch (e) {
logger.error('Error while rendering info diagram')
logger.error(e.message)
Expand Down
2 changes: 1 addition & 1 deletion src/themes/pie.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.titleText {
.pieTitleText {
text-anchor: middle;
font-size: 25px;
fill: $taskTextDarkColor;
Expand Down

0 comments on commit 398d66b

Please sign in to comment.