font-sizing
This commit is contained in:
parent
aae40f3957
commit
9e27122873
2 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ class SaveHandler(RestHandler):
|
||||||
x="{ann.bbox[0] * -1 * normalisedAnn.scale}"
|
x="{ann.bbox[0] * -1 * normalisedAnn.scale}"
|
||||||
y="{ann.bbox[1] * -1 * normalisedAnn.scale}"></image>
|
y="{ann.bbox[1] * -1 * normalisedAnn.scale}"></image>
|
||||||
{"".join(segments)}
|
{"".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>
|
</g>
|
||||||
""")
|
""")
|
||||||
annotations.append({'id': annId, 'x': x, 'y': y})
|
annotations.append({'id': annId, 'x': x, 'y': y})
|
||||||
|
|
|
@ -124,7 +124,7 @@ svg text{
|
||||||
|
|
||||||
.buttons{
|
.buttons{
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top: 10px;
|
top: 20px;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
width: 400px;
|
width: 400px;
|
||||||
left: calc(50% - 150px);
|
left: calc(50% - 150px);
|
||||||
|
|
Loading…
Reference in a new issue