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/base.html b/app/templates/base.html index 594ad7b..6844120 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -214,9 +214,11 @@ .md-help code { background: var(--panel2); padding: 1px 5px; border-radius: 4px; color: var(--text); } - .htmx-indicator { opacity: 0; transition: opacity .2s; } - .htmx-request .htmx-indicator { opacity: 1; } - .htmx-request.htmx-indicator { opacity: 1; } + /* display:none statt opacity:0, damit der (unsichtbare) Indikator im + Ruhezustand keinen Platz im Button reserviert. */ + .htmx-indicator { display: none; } + .htmx-request .htmx-indicator { display: inline-flex; } + .htmx-request.htmx-indicator { display: inline-flex; } .icon { display: inline-block; vertical-align: -3px; flex-shrink: 0; } .icon-spin { animation: icon-spin 0.8s linear infinite; } diff --git a/app/templates/index.html b/app/templates/index.html index de9e4e9..3a1b5ce 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -63,7 +63,7 @@ style="flex:1 1 220px; width:auto;"> {{ icons.spinner(size=14) }} - {{ icons.plus(size=14) }} Hinzufügen + Hinzufügen 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 @@ {{ icons.spinner(size=14) }} - {{ icons.plus(size=14) }} Hinzufügen + Hinzufügen