优化SQL查询语句的HTML输出样式,调整字体大小并添加边框
All checks were successful
Docker Build & Deploy / Build Docker Image (push) Successful in 19s
Docker Build & Deploy / Deploy to Production (push) Successful in 7s
Docker Build & Deploy / Cleanup Dangling Images (push) Successful in 1s

This commit is contained in:
孙诚
2026-01-05 16:20:21 +08:00
parent 83d8c25aca
commit d311918b0b

View File

@@ -325,7 +325,7 @@ public class SmartHandleService(
JsonSerializer.Serialize(new
{
content = $"""
<pre style="max-height: 80px; font-size: 12px; overflow-y: auto; padding: 8px; border: none;">
<pre style="max-height: 80px; font-size: 8px; overflow-y: auto; padding: 8px; border: 1px solid #3c3c3c">
{System.Net.WebUtility.HtmlEncode(sqlText)}
</pre>
"""