Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
eliang-stripe committed Jun 18, 2024
1 parent 76b7fc9 commit 6c126f3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/components/EmbeddedComponentContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const EmbeddedComponentContainer = ({

return (
<div
className={`${enableBorder ? 'rounded-lg border-2 border-dashed border-[#7F81FA] p-[4px] overflow-hidden' : 'p-[6px]'} transition-border duration-200 ${className}`}
className={`${enableBorder ? 'overflow-hidden rounded-lg border-2 border-dashed border-[#7F81FA] p-[4px]' : 'p-[6px]'} transition-border duration-200 ${className}`}
>
{children}
</div>
Expand Down
4 changes: 2 additions & 2 deletions app/components/Screen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ export default function Screen({
{/* Furever site container */}
<div
className={`origin-left overflow-hidden transition duration-500 ease-in-out md:h-screen
${open ? 'shadow-xl md:rounded-xl md:border md:border-[1.5px] md:translate-x-[calc(140px+22%)] lg:translate-x-[calc(125px+19%)] xl:translate-x-[calc(130px+15%)] md:scale-[0.6] lg:scale-[0.66] xl:scale-[0.73]' : 'h-full min-h-screen w-full flex-col sm:flex-row'}
${open ? 'shadow-xl md:translate-x-[calc(140px+22%)] md:scale-[0.6] md:rounded-xl md:border md:border-[1.5px] lg:translate-x-[calc(125px+19%)] lg:scale-[0.66] xl:translate-x-[calc(130px+15%)] xl:scale-[0.73]' : 'h-full min-h-screen w-full flex-col sm:flex-row'}
${theme == 'light' ? 'bg-paw-pattern bg-[size:426px]' : 'bg-screen-background'}`}
>
<Nav />
<div className="mt-[74px] flex h-full grow justify-center overflow-scroll overscroll-contain p-3 pb-20 sm:ml-52 sm:mt-0 sm:mt-0 sm:p-8 lg:ml-64">
<div className="flex grow flex-col gap-y-4 max-w-[1200px] mx-auto after:pb-8 md:gap-y-5">
<div className="mx-auto flex max-w-[1200px] grow flex-col gap-y-4 after:pb-8 md:gap-y-5">
<OnboardingDialog />
{children}
</div>
Expand Down
7 changes: 1 addition & 6 deletions app/components/testdata/CreatePaymentsButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,7 @@ export default function CreatePaymentsButton({classes}: {classes?: string}) {
<FormItem>
<FormLabel>Number of payments</FormLabel>
<FormControl>
<Input
{...field}
type="number"
min="1"
step={1}
/>
<Input {...field} type="number" min="1" step={1} />
</FormControl>
<FormMessage />
</FormItem>
Expand Down
2 changes: 1 addition & 1 deletion components/ui/badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const badgeVariants = cva(
variant: {
default: 'bg-gray-200 border-gray-300 text-primary-foreground',
blue: 'bg-sky-100 border-sky-200 text-sky-700 dark:bg-sky-900 dark:border-sky-700 dark:text-sky-300',
red: 'bg-rose-100 border-rose-200 text-rose-700 dark:bg-rose-900 dark:border-rose-700 dark:text-rose-300',
red: 'bg-rose-100 border-rose-200 text-rose-700 dark:bg-rose-900 dark:border-rose-700 dark:text-rose-300',
secondary:
'border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80',
destructive:
Expand Down

0 comments on commit 6c126f3

Please sign in to comment.