font-sizing

This commit is contained in:
Ruben van de Ven 2020-03-10 15:27:30 +01:00
parent aae40f3957
commit 9e27122873
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ class SaveHandler(RestHandler):
x="{ann.bbox[0] * -1 * normalisedAnn.scale}"
y="{ann.bbox[1] * -1 * normalisedAnn.scale}"></image>
{"".join(segments)}
<text fill="white" font-size="40pt" font-family="sans-serif" x="{textX}" y="{textY}">{cat['name']}</text>
<text fill="white" font-size="30pt" font-family="sans-serif" x="{textX}" y="{textY}">{cat['name']}</text>
</g>
""")
annotations.append({'id': annId, 'x': x, 'y': y})

View File

@ -124,7 +124,7 @@ svg text{
.buttons{
position:absolute;
top: 10px;
top: 20px;
text-align:center;
width: 400px;
left: calc(50% - 150px);