Compare commits

...

2 Commits

Author SHA1 Message Date
1434dffb49 fix: increase model card spacing - margin 4px -> 8px 2026-06-12 11:17:25 +08:00
a0cff97091 fix: LlmModel card spacing - add cwidth/cheight/margin to prevent overlap
render_title: padding 15px -> cwidth:3, cheight:3, padding:4px, margin:2px, css:clickable
2026-06-12 11:05:58 +08:00

View File

@ -155,7 +155,7 @@ bricks.LlmModel = class extends bricks.JsWidget {
this.llmio = llmio;
}
render_title(){
var w = new bricks.HBox({padding:'15px'});
var w = new bricks.HBox({cwidth:3, cheight:3, padding:'4px', margin:'2px', css:'clickable'});
w.bind('click', this.show_setup_panel.bind(this))
var img = new bricks.Svg({
rate:2,
@ -422,12 +422,13 @@ bricks.LlmIO = class extends bricks.VBox {
llmcatelogid:this.models[0].llmcatelogid
},
data_method:'POST',
col_cwidth: 24,
col_cwidth: 36,
record_view:{
widgettype:"VBox",
options:{
cheight:20,
css:"card"
cheight:14,
css:"card",
margin:"8px"
},
subwidgets:[
{