fix: wrap description+pricing in VScrollPanel so long descriptions don't push pricing off-screen

- show_llms_cards.ui: card-body-scroll VScrollPanel wraps Text(desc) + Filler(pricing)
- show_llms_cards_by_provider.ui: same fix
This commit is contained in:
yumoqing 2026-07-06 15:08:51 +08:00
parent c2af41d5f4
commit 109d081a3f
2 changed files with 52 additions and 36 deletions

View File

@ -50,6 +50,12 @@
} }
] ]
}, },
{
"widgettype":"VScrollPanel",
"options":{
"css":"card-body-scroll"
},
"subwidgets":[
{ {
"widgettype":"Text", "widgettype":"Text",
"options":{ "options":{
@ -77,6 +83,8 @@
{% endfor %} {% endfor %}
] ]
} }
]
}
], ],
"binds":[ "binds":[
{ {

View File

@ -49,6 +49,12 @@
} }
] ]
}, },
{
"widgettype":"VScrollPanel",
"options":{
"css":"card-body-scroll"
},
"subwidgets":[
{ {
"widgettype":"Text", "widgettype":"Text",
"options":{ "options":{
@ -76,6 +82,8 @@
{% endfor %} {% endfor %}
] ]
} }
]
}
], ],
"binds":[ "binds":[
{ {