New Tailwind CSS formatter run

This commit is contained in:
giancarlo
2024-06-03 00:35:09 +07:00
parent 08de59a43a
commit d0c6981e78
8 changed files with 8 additions and 14 deletions

View File

@@ -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>

View File

@@ -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']:

View File

@@ -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>

View File

@@ -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 />