mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 13:59:54 +02:00
#1995 Adding polygons
This commit is contained in:
@@ -313,6 +313,9 @@ const render = function(id, _txt, cb, container) {
|
|||||||
userStyles += `\n.${className} rect { ${classes[className].styles.join(
|
userStyles += `\n.${className} rect { ${classes[className].styles.join(
|
||||||
' !important; '
|
' !important; '
|
||||||
)} !important; }`;
|
)} !important; }`;
|
||||||
|
userStyles += `\n.${className} polygon { ${classes[className].styles.join(
|
||||||
|
' !important; '
|
||||||
|
)} !important; }`;
|
||||||
if (classes[className].textStyles) {
|
if (classes[className].textStyles) {
|
||||||
userStyles += `\n.${className} tspan { ${classes[className].textStyles.join(
|
userStyles += `\n.${className} tspan { ${classes[className].textStyles.join(
|
||||||
' !important; '
|
' !important; '
|
||||||
|
Reference in New Issue
Block a user