From 34527737bb11995914ab08d224f07e4bc67d4be0 Mon Sep 17 00:00:00 2001 From: Ettore Di Giacinto Date: Mon, 3 Jun 2024 17:07:26 +0200 Subject: [PATCH] feat(webui): enhance card visibility (#2473) Do not let the description text to clutter, also highlight the model names Signed-off-by: Ettore Di Giacinto --- core/http/elements/gallery.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/http/elements/gallery.go b/core/http/elements/gallery.go index 7ca34aef..c37cba31 100644 --- a/core/http/elements/gallery.go +++ b/core/http/elements/gallery.go @@ -243,13 +243,13 @@ func ListModels(models []*gallery.GalleryModel, processing *xsync.SyncedMap[stri }, elem.H5( attrs.Props{ - "class": "mb-2 text-xl font-medium leading-tight", + "class": "mb-2 text-xl font-bold leading-tight", }, elem.Text(m.Name), ), elem.P( attrs.Props{ - "class": "mb-4 text-base", + "class": "mb-4 text-sm [&:not(:hover)]:truncate text-base", }, elem.Text(m.Description), ),