New Tailwind CSS formatter run
This commit is contained in:
@@ -17,8 +17,7 @@ export function DocsCard({
|
|||||||
return (
|
return (
|
||||||
<div className="flex flex-col">
|
<div className="flex flex-col">
|
||||||
<div
|
<div
|
||||||
className={`flex grow flex-col space-y-2.5 border bg-background p-6
|
className={`flex grow flex-col space-y-2.5 border bg-background p-6 ${link ? 'rounded-t-2xl border-b-0' : 'rounded-2xl'}`}
|
||||||
${link ? 'rounded-t-2xl border-b-0' : 'rounded-2xl'}`}
|
|
||||||
>
|
>
|
||||||
<h3 className="mt-0 text-lg font-semibold dark:text-white">
|
<h3 className="mt-0 text-lg font-semibold dark:text-white">
|
||||||
<Link href={link.url}>{title}</Link>
|
<Link href={link.url}>{title}</Link>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ function Home() {
|
|||||||
<div
|
<div
|
||||||
className={
|
className={
|
||||||
'flex flex-col items-center md:flex-row' +
|
'flex flex-col items-center md:flex-row' +
|
||||||
' mx-auto flex-1 justify-center animate-in fade-in ' +
|
' mx-auto flex-1 justify-center animate-in fade-in' +
|
||||||
' duration-500 zoom-in-95 slide-in-from-top-24'
|
' duration-500 zoom-in-95 slide-in-from-top-24'
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -161,8 +161,7 @@ function PricingItem(
|
|||||||
data-cy={'subscription-plan'}
|
data-cy={'subscription-plan'}
|
||||||
className={cn(
|
className={cn(
|
||||||
props.className,
|
props.className,
|
||||||
`s-full relative flex flex-1 grow flex-col items-stretch justify-between
|
`s-full relative flex flex-1 grow flex-col items-stretch justify-between self-stretch rounded-lg border p-8 lg:w-4/12 xl:max-w-[20rem]`,
|
||||||
self-stretch rounded-lg border p-8 lg:w-4/12 xl:max-w-[20rem]`,
|
|
||||||
{
|
{
|
||||||
['border-primary']: highlighted,
|
['border-primary']: highlighted,
|
||||||
['dark:shadow-primary/40 border-transparent shadow dark:shadow-sm']:
|
['dark:shadow-primary/40 border-transparent shadow dark:shadow-sm']:
|
||||||
|
|||||||
@@ -31,10 +31,7 @@ export function CookieBanner() {
|
|||||||
return (
|
return (
|
||||||
<DialogPrimitive.Root open modal={false}>
|
<DialogPrimitive.Root open modal={false}>
|
||||||
<DialogPrimitive.Content
|
<DialogPrimitive.Content
|
||||||
className={`dark:shadow-primary-500/40 fixed bottom-0
|
className={`dark:shadow-primary-500/40 fixed bottom-0 w-full max-w-lg border bg-background p-6 shadow-2xl delay-1000 duration-1000 animate-in fade-in zoom-in-95 slide-in-from-bottom-16 fill-mode-both lg:bottom-[2rem] lg:left-[2rem] lg:h-48 lg:rounded-lg`}
|
||||||
w-full max-w-lg border bg-background p-6 shadow-2xl
|
|
||||||
delay-1000 duration-1000 animate-in fade-in zoom-in-95
|
|
||||||
slide-in-from-bottom-16 fill-mode-both lg:bottom-[2rem] lg:left-[2rem] lg:h-48 lg:rounded-lg`}
|
|
||||||
>
|
>
|
||||||
<div className={'flex flex-col space-y-4'}>
|
<div className={'flex flex-col space-y-4'}>
|
||||||
<div>
|
<div>
|
||||||
|
|||||||
@@ -140,8 +140,7 @@ export const ImageUploadInput = forwardRef<React.ElementRef<'input'>, Props>(
|
|||||||
return (
|
return (
|
||||||
<label
|
<label
|
||||||
id={'image-upload-input'}
|
id={'image-upload-input'}
|
||||||
className={`relative flex h-10 w-full cursor-pointer rounded-md border border-dashed border-input
|
className={`relative flex h-10 w-full cursor-pointer rounded-md border border-dashed border-input bg-background px-3 py-2 text-sm outline-none ring-primary ring-offset-2 ring-offset-background transition-all file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus:ring-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50`}
|
||||||
bg-background px-3 py-2 text-sm outline-none ring-primary ring-offset-2 ring-offset-background transition-all file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus:ring-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50`}
|
|
||||||
>
|
>
|
||||||
<Input />
|
<Input />
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ const DialogOverlay = React.forwardRef<
|
|||||||
<DialogPrimitive.Overlay
|
<DialogPrimitive.Overlay
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className={cn(
|
className={cn(
|
||||||
'fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',
|
'fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',
|
||||||
className,
|
className,
|
||||||
)}
|
)}
|
||||||
{...props}
|
{...props}
|
||||||
|
|||||||
@@ -72,7 +72,7 @@ const NavigationMenuContent = React.forwardRef<
|
|||||||
<NavigationMenuPrimitive.Content
|
<NavigationMenuPrimitive.Content
|
||||||
ref={ref}
|
ref={ref}
|
||||||
className={cn(
|
className={cn(
|
||||||
'left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ',
|
'left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto',
|
||||||
className,
|
className,
|
||||||
)}
|
)}
|
||||||
{...props}
|
{...props}
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ const SheetOverlay = React.forwardRef<
|
|||||||
>(({ className, ...props }, ref) => (
|
>(({ className, ...props }, ref) => (
|
||||||
<SheetPrimitive.Overlay
|
<SheetPrimitive.Overlay
|
||||||
className={cn(
|
className={cn(
|
||||||
'fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',
|
'fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',
|
||||||
className,
|
className,
|
||||||
)}
|
)}
|
||||||
{...props}
|
{...props}
|
||||||
|
|||||||
Reference in New Issue
Block a user