From d4d43ed5d95cde6e5130d3b87f13edcc2a3f6344 Mon Sep 17 00:00:00 2001 From: Erik Thiele Date: Fri, 31 Jul 2026 16:19:42 +0200 Subject: [PATCH] Fix loading-spinner spacing and add logo to header brand MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The "Hinzufügen" buttons reserved layout space for their loading spinner even when idle, since .htmx-indicator only toggled opacity (not display), leaving a visible gap before the centered text. Switch to display:none/inline-flex so the spinner takes no space until an htmx request is in flight, and drop the static plus icon next to "Hinzufügen" so the idle button just shows centered text with the spinner appearing in its place while loading. Also adds the favicon as a small logo image in front of "LinkVault" in the shared topbar. Co-Authored-By: Claude Sonnet 5 --- app/templates/_topbar.html | 4 +++- app/templates/base.html | 8 +++++--- app/templates/index.html | 2 +- app/templates/prompts.html | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app/templates/_topbar.html b/app/templates/_topbar.html index a563d61..730729b 100644 --- a/app/templates/_topbar.html +++ b/app/templates/_topbar.html @@ -1,6 +1,8 @@ {% import "_icons.html" as icons %}
- LinkVault + + LinkVault +
diff --git a/app/templates/prompts.html b/app/templates/prompts.html index 0093c47..28fbdb0 100644 --- a/app/templates/prompts.html +++ b/app/templates/prompts.html @@ -44,7 +44,7 @@