Fix: Login-Spinner standardmäßig versteckt (display:none)

wire:loading-Span war vor Livewire-Init sichtbar, wodurch Anmelden
und Spinner gleichzeitig angezeigt wurden.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
main
boban 2026-04-24 14:13:08 +02:00
parent 085f27d67c
commit a30c21a1a9
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@
class="mbx-btn-primary" class="mbx-btn-primary"
style="width:100%;justify-content:center;font-size:13px;padding:9px 16px"> style="width:100%;justify-content:center;font-size:13px;padding:9px 16px">
<span wire:loading.remove wire:target="login">Anmelden</span> <span wire:loading.remove wire:target="login">Anmelden</span>
<span wire:loading wire:target="login" style="display:inline-flex;align-items:center;gap:6px"> <span wire:loading wire:target="login" style="display:none;align-items:center;gap:6px">
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" style="animation:spin .7s linear infinite"> <svg width="12" height="12" viewBox="0 0 12 12" fill="none" style="animation:spin .7s linear infinite">
<path d="M10 6A4 4 0 1 1 6 2" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/> <path d="M10 6A4 4 0 1 1 6 2" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"/>
</svg> </svg>