diff --git a/app/components/floating-toolbar.tsx b/app/components/floating-toolbar.tsx index 41b5be03d..5e0e82364 100644 --- a/app/components/floating-toolbar.tsx +++ b/app/components/floating-toolbar.tsx @@ -1,2 +1,2 @@ export const floatingToolbarClassName = - 'absolute bottom-3 left-3 right-3 flex items-center gap-2 rounded-lg bg-muted/80 p-4 pl-5 shadow-xl shadow-accent backdrop-blur-sm md:gap-4 md:pl-7 justify-end' + 'absolute bottom-3 inset-x-3 flex items-center gap-2 rounded-lg bg-muted/80 p-4 pl-5 shadow-xl shadow-accent backdrop-blur-xs md:gap-4 md:pl-7 justify-end' diff --git a/app/components/progress-bar.tsx b/app/components/progress-bar.tsx index d493f7096..f99a6986a 100644 --- a/app/components/progress-bar.tsx +++ b/app/components/progress-bar.tsx @@ -32,12 +32,12 @@ function EpicProgress() { role="progressbar" aria-hidden={delayedPending ? undefined : true} aria-valuetext={delayedPending ? 'Loading' : undefined} - className="fixed inset-x-0 left-0 top-0 z-50 h-[0.20rem] animate-pulse" + className="fixed inset-x-0 top-0 z-50 h-[0.20rem] animate-pulse" >
diff --git a/app/components/ui/button.tsx b/app/components/ui/button.tsx index e42b070f8..5db2e43b3 100644 --- a/app/components/ui/button.tsx +++ b/app/components/ui/button.tsx @@ -5,7 +5,7 @@ import * as React from 'react' import { cn } from '#app/utils/misc.tsx' const buttonVariants = cva( - 'inline-flex items-center justify-center rounded-md text-sm font-medium outline-none ring-ring ring-offset-2 ring-offset-background transition-colors focus-within:ring-2 focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50', + 'ring-ring ring-offset-background inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-2 outline-hidden transition-colors focus-within:ring-2 focus-visible:ring-2 disabled:pointer-events-none disabled:opacity-50', { variants: { variant: { @@ -13,7 +13,7 @@ const buttonVariants = cva( destructive: 'bg-destructive text-destructive-foreground hover:bg-destructive/80', outline: - 'border border-input bg-background hover:bg-accent hover:text-accent-foreground', + 'border-input bg-background hover:bg-accent hover:text-accent-foreground border', secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80', ghost: 'hover:bg-accent hover:text-accent-foreground', @@ -25,7 +25,7 @@ const buttonVariants = cva( sm: 'h-9 rounded-md px-3', lg: 'h-11 rounded-md px-8', pill: 'px-12 py-3 leading-3', - icon: 'h-10 w-10', + icon: 'size-10', }, }, defaultVariants: { @@ -35,24 +35,26 @@ const buttonVariants = cva( }, ) -export interface ButtonProps - extends React.ButtonHTMLAttributes