mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 05:49:43 +02:00
Adjust class diagram label size
This commit is contained in:
@@ -200,8 +200,8 @@ var drawEdge = function (elem, path, relation) {
|
|||||||
.attr('class', 'box')
|
.attr('class', 'box')
|
||||||
.attr('x', bounds.x - conf.padding / 2)
|
.attr('x', bounds.x - conf.padding / 2)
|
||||||
.attr('y', bounds.y - conf.padding / 2)
|
.attr('y', bounds.y - conf.padding / 2)
|
||||||
.attr('width', bounds.width + 2 * conf.padding / 2)
|
.attr('width', bounds.width + conf.padding)
|
||||||
.attr('height', bounds.height + 2 * conf.padding / 2)
|
.attr('height', bounds.height + conf.padding)
|
||||||
}
|
}
|
||||||
|
|
||||||
edgeCount++
|
edgeCount++
|
||||||
|
@@ -24,6 +24,7 @@ svg .classLabel .box {
|
|||||||
|
|
||||||
svg .classLabel .label {
|
svg .classLabel .label {
|
||||||
fill: @nodeBorder;
|
fill: @nodeBorder;
|
||||||
|
font-size: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.relation {
|
.relation {
|
||||||
|
Reference in New Issue
Block a user