1
0
Fork 0
mirror of synced 2024-10-04 03:54:37 +13:00

Change spinner location

This commit is contained in:
Adria Navarro 2023-09-25 11:03:35 +02:00
parent 10fdd696c6
commit 26362c44e8

View file

@ -261,13 +261,14 @@
</li>
{/each}
{/if}
{#if loading}
<li class="spectrum-Menu-item loading">
<ProgressCircle size="S" />
</li>
{/if}
</ul>
{#if loading}
<div class="loading" class:loading--withAutocomplete={autocomplete}>
<ProgressCircle size="S" />
</div>
{/if}
{#if footer}
<div class="footer">
{footer}
@ -381,6 +382,12 @@
}
.loading {
position: fixed;
justify-content: center;
right: var(--spacing-s);
top: var(--spacing-s);
}
.loading--withAutocomplete {
top: calc(34px + var(--spacing-m));
}
</style>