- 在 markdown.css 文件中添加了针对 Mermaid 图表的样式 - 确保图表在容器中按比例缩放
@@ -2449,7 +2449,7 @@ checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51"
[[package]]
name = "yaa"
-version = "2.13.2"
+version = "2.13.3"
dependencies = [
"actix-cors",
"actix-web",
@@ -1,6 +1,6 @@
[package]
edition = "2024"
[dependencies]
@@ -115,4 +115,9 @@
.yaa-container table thead tr:first-child>* {
border-top: .1rem solid transparent;
+}
+
+.yaa-container svg[id^="mermaid-"][width][height][viewBox] {
+ width: 100%;
+ height: auto;
}