Change spinner location
This commit is contained in:
parent
10fdd696c6
commit
26362c44e8
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue