mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2025-02-14 09:22:34 +01:00
Fixed rendering of arrow heads in Mermaid.js class diagrams
Fix embedded mermaid css to fix class diagram arrow heads
This commit is contained in:
commit
a1816aedcb
@ -171,19 +171,15 @@ g.classGroup text {
|
||||
}
|
||||
|
||||
/* Class extension, composition and dependency marker */
|
||||
defs #classDiagram-extensionStart,
|
||||
defs #classDiagram-extensionEnd,
|
||||
defs #classDiagram-compositionStart,
|
||||
defs #classDiagram-compositionEnd,
|
||||
defs #classDiagram-dependencyStart,
|
||||
defs #classDiagram-dependencyEnd {
|
||||
defs marker.marker.extension.class path,
|
||||
defs marker.marker.composition.class path ,
|
||||
defs marker.marker.dependency.class path {
|
||||
fill: var(--md-mermaid-edge-color) !important;
|
||||
stroke: var(--md-mermaid-edge-color) !important;
|
||||
}
|
||||
|
||||
/* Class aggregation marker */
|
||||
defs #classDiagram-aggregationStart,
|
||||
defs #classDiagram-aggregationEnd {
|
||||
defs marker.marker.aggregation.class path {
|
||||
fill: var(--md-mermaid-label-bg-color) !important;
|
||||
stroke: var(--md-mermaid-edge-color) !important;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user