mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 03:01:54 +00:00
convert to tw
This commit is contained in:
@@ -5,9 +5,11 @@
|
|||||||
class="absolute inset-0 z-50 flex items-center justify-center bg-backdrop/50"
|
class="absolute inset-0 z-50 flex items-center justify-center bg-backdrop/50"
|
||||||
>
|
>
|
||||||
<div class="flex flex-col items-center">
|
<div class="flex flex-col items-center">
|
||||||
<div class="relative flex items-center justify-center">
|
<div class="grid place-items-center">
|
||||||
<div class="animate-spin spinner" />
|
<div
|
||||||
<div class="absolute">
|
class="col-start-1 row-start-1 h-12 w-12 animate-spin rounded-full border-4 border-muted-foreground border-t-base-foreground"
|
||||||
|
/>
|
||||||
|
<div class="col-start-1 row-start-1">
|
||||||
<slot />
|
<slot />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -25,13 +27,3 @@ defineProps<{
|
|||||||
loadingMessage?: string
|
loadingMessage?: string
|
||||||
}>()
|
}>()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
.spinner {
|
|
||||||
width: 50px;
|
|
||||||
height: 50px;
|
|
||||||
border: 4px solid var(--muted-foreground);
|
|
||||||
border-top-color: var(--base-foreground);
|
|
||||||
border-radius: 50%;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user