From 701b69d5a3030a31b1ac4e8a572b837bc6637fe7 Mon Sep 17 00:00:00 2001 From: Walker Date: Tue, 27 Aug 2024 21:36:31 -0500 Subject: [PATCH] change tailwind styles on alert to be more specific when determining if alert has icon --- sites/docs/src/lib/registry/default/ui/alert/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/docs/src/lib/registry/default/ui/alert/index.ts b/sites/docs/src/lib/registry/default/ui/alert/index.ts index 296f9e122..2980c2e0c 100644 --- a/sites/docs/src/lib/registry/default/ui/alert/index.ts +++ b/sites/docs/src/lib/registry/default/ui/alert/index.ts @@ -5,7 +5,7 @@ import Description from "./alert-description.svelte"; import Title from "./alert-title.svelte"; export const alertVariants = tv({ - base: "[&>svg]:text-foreground relative w-full rounded-lg border p-4 [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4", + base: "[&>svg]:text-foreground relative w-full rounded-lg border p-4 [&:has(>svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4", variants: { variant: {