Kroki Graphs cutoff instead of scaled

What’s The Bug?

The update fixed Kroki links not working but scaling the kroki graphs now cuts is off instead off scaling, which in my opinion is wrong and not useable.

How To Reproduce It

/kroki
insert kroki link and test

Image or Video

The Expected Behavior

Should scale but graph shown completely at all times

Device

Asus zenbook

OS

Windows 11

Anytype Version

0.45.3

Network Mode

AnySync

Technical Information

OS version: win32 x64 10.0.26100
App version: 0.45.3
Build number: build on 2025-02-17 15:22:27 +0000 UTC at #f1ceda0a1457dbf982d8b3fd8479ccdcb95df6d3 (dirty)
Library version: v0.39.11
Anytype Identity: A8DUHvgHpCfmZxnGUSikBWsK65jxAxpdKjsA65Y1MLf8SttF
Analytics ID: Mde5rFQcrg3RZUFuKJFnMNJzJ2tCQbMc3EFCKnob5NQMTXBd
Device ID: 12D3KooWBDjgT7nngoWbmzoouzpTHXnpFkAmpeGKzQUhH5tACh85

Yes, I can confirm this on MacOS as well. It seem the kroki diagrams are cropped to size instead of scaled to the available div in the block. Nice would be in my point of view to handle diagrams in a way tables are handled. If they are wider than the page width they are extended on both sides.

This report has been added to our issue tracker and received by the Development Team.

This issue has been fixed by the Development Team and will be implemented in an upcoming release.