fix: keep save button spinner inline (#22227)

This commit is contained in:
Shirasawa
2026-03-04 13:56:49 -06:00
committed by GitHub
parent 5af24b3ebe
commit 7d45459a47
12 changed files with 36 additions and 36 deletions
@@ -184,7 +184,7 @@
<div class="flex justify-end pt-3 text-sm font-medium">
<button
class="px-3.5 py-1.5 text-sm font-medium bg-black hover:bg-gray-900 text-white dark:bg-white dark:text-black dark:hover:bg-gray-100 transition rounded-full {saving
class="px-3.5 py-1.5 text-sm font-medium bg-black hover:bg-gray-900 text-white dark:bg-white dark:text-black dark:hover:bg-gray-100 transition rounded-full flex items-center gap-2 whitespace-nowrap {saving
? ' cursor-not-allowed'
: ''}"
type="submit"
@@ -193,9 +193,9 @@
{$i18n.t('Save')}
{#if saving}
<div class="ml-2 self-center">
<span class="shrink-0">
<Spinner />
</div>
</span>
{/if}
</button>
</div>