mirror of https://github.com/kortix-ai/suna.git
Enhance button styles by adding cursor pointer
This commit is contained in:
parent
1fdf26f82e
commit
4308f0e0d8
|
@ -467,7 +467,7 @@ export function FileAttachment({
|
|||
{onClick && (
|
||||
<button
|
||||
onClick={handleClick}
|
||||
className="p-1 rounded-full hover:bg-black/10 dark:hover:bg-white/10"
|
||||
className="cursor-pointer p-1 rounded-full hover:bg-black/10 dark:hover:bg-white/10"
|
||||
>
|
||||
<ExternalLink size={14} />
|
||||
</button>
|
||||
|
|
|
@ -5,7 +5,7 @@ import { cva, type VariantProps } from 'class-variance-authority';
|
|||
import { cn } from '@/lib/utils';
|
||||
|
||||
const buttonVariants = cva(
|
||||
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
||||
"cursor-pointer inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
||||
{
|
||||
variants: {
|
||||
variant: {
|
||||
|
|
Loading…
Reference in New Issue