mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
#22 Update SCSS for pie chart specific title class
This commit is contained in:
parent
eb9ac1bbe5
commit
398d66bda9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user