Skip to content

Commit

Permalink
fix: Self closing tags issue (#1026)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOnlyTails authored Apr 18, 2024
1 parent bea6b9f commit 1f320b4
Show file tree
Hide file tree
Showing 11 changed files with 229 additions and 198 deletions.
2 changes: 1 addition & 1 deletion apps/www/src/lib/components/docs/block-preview.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
isLoading = false;
}}
title="Block preview"
/>
></iframe>
</Resizable.Pane>
<Resizable.Handle
class={cn(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
)}
{...$$restProps}
>
<div class="mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" />
<div class="mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"></div>
<slot />
</DrawerPrimitive.Content>
</DrawerPrimitive.Portal>
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
<div
class="h-full w-full flex-1 bg-primary transition-all"
style={`transform: translateX(-${100 - (100 * (value ?? 0)) / (max ?? 1)}%)`}
/>
></div>
</ProgressPrimitive.Root>
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
export { className as class };
</script>

<div class={cn("animate-pulse rounded-md bg-muted", className)} {...$$restProps} />
<div class={cn("animate-pulse rounded-md bg-muted", className)} {...$$restProps}></div>
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
on:paste
on:input
{...$$restProps}
/>
></textarea>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
)}
{...$$restProps}
>
<div class="mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted" />
<div class="mx-auto mt-4 h-2 w-[100px] rounded-full bg-muted"></div>
<slot />
</DrawerPrimitive.Content>
</DrawerPrimitive.Portal>
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@
<div
class="h-full w-full flex-1 bg-primary transition-all"
style={`transform: translateX(-${100 - (100 * (value ?? 0)) / (max ?? 1)}%)`}
/>
></div>
</ProgressPrimitive.Root>
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
export { className as class };
</script>

<div class={cn("animate-pulse rounded-md bg-primary/10", className)} {...$$restProps} />
<div class={cn("animate-pulse rounded-md bg-primary/10", className)} {...$$restProps}></div>
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
on:paste
on:input
{...$$restProps}
/>
></textarea>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"eslint-plugin-antfu": "^2.1.2",
"eslint-plugin-svelte": "2.36.0-next.13",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.2",
"prettier-plugin-svelte": "^3.2.3",
"prettier-plugin-tailwindcss": "^0.5.12",
"pretty-quick": "^4.0.0",
"simple-git-hooks": "^2.10.0",
Expand Down
Loading

0 comments on commit 1f320b4

Please sign in to comment.