From a09fe1b9babcfec6e91f596b6597a4030d9552fc Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Tue, 23 Apr 2024 20:00:20 +0200 Subject: [PATCH] fix(gallery): set margin for images Signed-off-by: Ettore Di Giacinto --- core/http/elements/gallery.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/http/elements/gallery.go b/core/http/elements/gallery.go index 405f42ae..f2b4f8dd 100644 --- a/core/http/elements/gallery.go +++ b/core/http/elements/gallery.go @@ -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, }), ),