mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-20 07:49:43 +02:00
#22 Update SCSS for pie chart specific title class
This commit is contained in:
@@ -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)
|
||||
|
@@ -1,4 +1,4 @@
|
||||
.titleText {
|
||||
.pieTitleText {
|
||||
text-anchor: middle;
|
||||
font-size: 25px;
|
||||
fill: $taskTextDarkColor;
|
||||
|
Reference in New Issue
Block a user