diff --git a/engine/core/templates/admin/index.html b/engine/core/templates/admin/index.html index 9782937a..b1a1319a 100644 --- a/engine/core/templates/admin/index.html +++ b/engine/core/templates/admin/index.html @@ -104,7 +104,7 @@ {% trans "Quick Links" %} {% endcomponent %} {% if quick_links %} - {% component "unfold/components/navigation.html" with items=quick_links %} + {% component "unfold/components/navigation.html" with class="flex flex-col gap-1" items=quick_links %} {% endcomponent %} {% else %} {% component "unfold/components/text.html" %} diff --git a/engine/core/views.py b/engine/core/views.py index 5e467e2a..012211c3 100644 --- a/engine/core/views.py +++ b/engine/core/views.py @@ -430,11 +430,13 @@ def dashboard_callback(request, context): link = item.get("link") if not title or not link: continue - quick_links.append({ - "title": str(title), - "link": str(link), - **({"icon": item.get("icon")} if item.get("icon") else {}), - }) + quick_links.append( + { + "title": str(title), + "link": str(link), + **({"icon": item.get("icon")} if item.get("icon") else {}), + } + ) most_wished: dict[str, str | int | float | None] | None = None with suppress(Exception):