mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 15:40:10 +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"
|
||||
>
|
||||
<div class="flex flex-col items-center">
|
||||
<div class="relative flex items-center justify-center">
|
||||
<div class="animate-spin spinner" />
|
||||
<div class="absolute">
|
||||
<div class="grid place-items-center">
|
||||
<div
|
||||
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 />
|
||||
</div>
|
||||
</div>
|
||||
@@ -25,13 +27,3 @@ defineProps<{
|
||||
loadingMessage?: string
|
||||
}>()
|
||||
</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