fix(gallery): set margin for images

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
This commit is contained in:
Ettore Di Giacinto 2024-04-23 20:00:20 +02:00
parent 55778b35ff
commit a09fe1b9ba

View File

@ -209,7 +209,7 @@ func ListModels(models []*gallery.GalleryModel) string {
},
elem.Img(attrs.Props{
// "class": "rounded-t-lg object-fit object-center h-96",
"class": "rounded-t-lg max-h-48 max-w-96 object-cover",
"class": "rounded-t-lg max-h-48 max-w-96 object-cover mt-3",
"src": m.Icon,
}),
),