mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-26 10:49:38 +02:00
fix: fix invalid CSS for class diagram
`.divider` had a `stroke` property of `1` that was invalid. This looks like a typo from PR https://github.com/mermaid-js/mermaid/pull/1567, as the `src/theme/class.scss` file's `.divider` section correctly shows `stroke-width: 1;`. Fixes: https://github.com/mermaid-js/mermaid/pull/1567
This commit is contained in:
@@ -41,7 +41,7 @@ const getStyles = (options) =>
|
|||||||
|
|
||||||
.divider {
|
.divider {
|
||||||
stroke: ${options.nodeBorder};
|
stroke: ${options.nodeBorder};
|
||||||
stroke: 1;
|
stroke-width: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
g.clickable {
|
g.clickable {
|
||||||
|
Reference in New Issue
Block a user