mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-08 10:06:40 +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('x', bounds.x - conf.padding / 2)
|
||||
.attr('y', bounds.y - conf.padding / 2)
|
||||
.attr('width', bounds.width + 2 * conf.padding / 2)
|
||||
.attr('height', bounds.height + 2 * conf.padding / 2)
|
||||
.attr('width', bounds.width + conf.padding)
|
||||
.attr('height', bounds.height + conf.padding)
|
||||
}
|
||||
|
||||
edgeCount++
|
||||
|
@@ -24,6 +24,7 @@ svg .classLabel .box {
|
||||
|
||||
svg .classLabel .label {
|
||||
fill: @nodeBorder;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.relation {
|
||||
|
Reference in New Issue
Block a user