fix: add header offset to IntersectionObserver

This commit is contained in:
enscribe 2024-09-18 23:18:46 -07:00
parent b63cf6779d
commit c64a081508
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
3 changed files with 24 additions and 17 deletions

View file

@ -11,8 +11,7 @@ const buttonVariants = cva(
default: 'bg-primary text-primary-foreground hover:bg-secondary/50',
destructive:
'bg-destructive text-destructive-foreground over:bg-destructive/50',
outline:
'border border-input bg-background hover:bg-secondary/50',
outline: 'border border-input bg-background hover:bg-secondary/50',
secondary:
'bg-secondary text-secondary-foreground hover:bg-secondary/80',
ghost: 'hover:bg-accent hover:text-accent-foreground',