diff --git a/src/diagrams/pie/pieRenderer.js b/src/diagrams/pie/pieRenderer.js index b72ac3544..a1d7ec30f 100644 --- a/src/diagrams/pie/pieRenderer.js +++ b/src/diagrams/pie/pieRenderer.js @@ -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) diff --git a/src/themes/pie.scss b/src/themes/pie.scss index b6bcb465c..b8f362280 100644 --- a/src/themes/pie.scss +++ b/src/themes/pie.scss @@ -1,4 +1,4 @@ -.titleText { +.pieTitleText { text-anchor: middle; font-size: 25px; fill: $taskTextDarkColor;