feat: update chat display and fix issue with regeneration
This commit is contained in:
parent
e06f34b0f1
commit
8f64c55896
17 changed files with 266 additions and 231 deletions
|
|
@ -5,11 +5,12 @@ import { cva, type VariantProps } from 'class-variance-authority'
|
|||
import { cn } from '@/lib/utils'
|
||||
|
||||
const buttonVariants = cva(
|
||||
'inline-flex items-center justify-center shadow-sm rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none ring-offset-background',
|
||||
'inline-flex items-center justify-center shadow rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none ring-offset-background',
|
||||
{
|
||||
variants: {
|
||||
variant: {
|
||||
default: 'bg-primary text-primary-foreground hover:bg-primary/90',
|
||||
default:
|
||||
'bg-primary shadow-md text-primary-foreground hover:bg-primary/90',
|
||||
destructive:
|
||||
'bg-destructive text-destructive-foreground hover:bg-destructive/90',
|
||||
outline:
|
||||
|
|
@ -20,10 +21,10 @@ const buttonVariants = cva(
|
|||
link: 'underline-offset-4 shadow-none hover:underline text-primary'
|
||||
},
|
||||
size: {
|
||||
default: 'h-9 py-2 px-4',
|
||||
sm: 'h-9 px-3 rounded-md',
|
||||
default: 'h-8 py-2 px-4',
|
||||
sm: 'h-8 px-3 rounded-md',
|
||||
lg: 'h-11 px-8 rounded-md',
|
||||
icon: 'h-9 w-9 p-0'
|
||||
icon: 'h-8 w-8 p-0'
|
||||
}
|
||||
},
|
||||
defaultVariants: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue