mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-15 13:29:40 +02:00
make default sequence numbers a little smaller
This commit is contained in:
@@ -266,10 +266,10 @@ const drawMessage = function (elem, startx, stopx, verticalPos, msg, sequenceInd
|
||||
if (conf.showSequenceNumbers) {
|
||||
line.attr('marker-start', 'url(' + url + '#sequencenumber)')
|
||||
g.append('text')
|
||||
.attr('x', startx - 1)
|
||||
.attr('y', verticalPos + 5)
|
||||
.attr('x', startx)
|
||||
.attr('y', verticalPos + 4)
|
||||
.attr('font-family', 'sans-serif')
|
||||
.attr('font-size', '16px')
|
||||
.attr('font-size', '12px')
|
||||
.attr('text-anchor', 'middle')
|
||||
.attr('textLength', '16px')
|
||||
.attr('class', 'sequenceNumber')
|
||||
|
@@ -195,7 +195,7 @@ export const insertSequenceNumber = function (elem) {
|
||||
.append('circle')
|
||||
.attr('cx', 15)
|
||||
.attr('cy', 15)
|
||||
.attr('r', 7)
|
||||
.attr('r', 6)
|
||||
// .style("fill", '#f00');
|
||||
}
|
||||
/**
|
||||
|
Reference in New Issue
Block a user