From bc23679c1b2057cc801820bad4db4f3af4fb13b1 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 29 Jul 2026 11:43:26 +0800 Subject: [PATCH] bugfix --- wwwroot/plaza_model_cards.ui | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/wwwroot/plaza_model_cards.ui b/wwwroot/plaza_model_cards.ui index d3365a5..8b7a3dd 100644 --- a/wwwroot/plaza_model_cards.ui +++ b/wwwroot/plaza_model_cards.ui @@ -23,11 +23,11 @@ {% for llm in data %} {% if not ns.first %},{% endif %} { - "widgettype": "VScrollPanel", + "widgettype": "VBox", "options": { "css": "card plaza-card", - "cwidth": 25, - "cheight": 16 + "cwidth": 15, + "cheight": 12 }, "subwidgets": [ { @@ -51,6 +51,7 @@ { "widgettype": "Text", "options": { + "height": "auto", "text": {{json.dumps(llm.description, ensure_ascii=False)}}, "wrap": true, "halign": "left" @@ -60,8 +61,11 @@ }, { "widgettype": "VBox", - "options": {"css": "pricing-box", "cheight": 4}, + "options": {"css": "filler", "cheight": 4}, "subwidgets": [ +{% if isinstance(llm.pricing_display, str) %} +{% set llm.pricing_display = [llm.pricing_display] %} +{% endif %} {% for pt in llm.pricing_display %} { "widgettype": "Text",