Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

💄 Update alert

Luke Vella7a49c18477e0
diff --git a/packages/ui/alert.tsx b/packages/ui/alert.tsx
index 79f52b0ab..a0f6c69f0 100644
--- a/packages/ui/alert.tsx
+++ b/packages/ui/alert.tsx
@@ -4,7 +4,7 @@ import * as React from "react";
import { cn } from "./lib/utils";
const alertVariants = cva(
- "flex flex-col shadow-sm sm:flex-row gap-x-3 gap-y-2 rounded-md border p-3",
+ "flex sm:flex-row flex-col gap-x-3 gap-y-2 rounded-md border p-4",
{
variants: {
variant: {
@@ -32,7 +32,7 @@ const Alert = React.forwardRef<
className={cn(alertVariants({ variant }), className)}
{...props}
>
- {Icon ? <Icon className="mt-0.5 h-4 w-4" /> : null}
+ {Icon ? <Icon className="mb-2 h-6 w-6" /> : null}
<div>{children}</div>
</div>
));
@@ -45,7 +45,10 @@ const AlertTitle = React.forwardRef<
>(({ className, ...props }, ref) => (
<h5
ref={ref}
- className={cn("mb-1 font-medium leading-none tracking-tight", className)}
+ className={cn(
+ "mb-2 text-sm font-bold leading-none tracking-tight",
+ className,
+ )}
{...props}
/>
));