diff --git a/app/(main)/layout.tsx b/app/(main)/layout.tsx index 328a7785..8ec4a538 100644 --- a/app/(main)/layout.tsx +++ b/app/(main)/layout.tsx @@ -51,7 +51,7 @@ const RootLayout = ({ - + diff --git a/components/Alert/Alert.tsx b/components/Alert/Alert.tsx index fff2d4b8..48d193b3 100644 --- a/components/Alert/Alert.tsx +++ b/components/Alert/Alert.tsx @@ -5,7 +5,7 @@ import * as React from 'react'; import { cva, type VariantProps } from 'class-variance-authority'; const alertVariants = cva( - 'relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground', + 'relative w-full md:max-w-[25rem] rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground', { variants: { variant: {