Skip to content

Commit b07eda6

Browse files
authored
Merge pull request #23 from T1LT/add-button-styling
feat: add hover/active effects to floating add button
2 parents e59c896 + bd9b880 commit b07eda6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

components/floating-add-button.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ export default function FloatingAddButton() {
1717
<div className="max-w-5xl w-full px-4 lg:px-0 flex justify-end">
1818
<Link
1919
href="/add"
20-
className="w-14 h-14 rounded-full backdrop-filter bg-background/40 backdrop-blur border flex items-center justify-center hover:bg-background/60 transition-all duration-200 shadow-lg hover:shadow-xl"
20+
className="w-14 h-14 rounded-full backdrop-filter bg-background/40 backdrop-blur border flex items-center justify-center hover:bg-background/60 hover:scale-110 active:scale-95 transition-all duration-200 shadow-lg hover:shadow-xl cursor-pointer group"
2121
aria-label="Add new recipe"
2222
>
23-
<Plus className="h-6 w-6" />
23+
<Plus className="h-6 w-6 group-hover:rotate-90 transition-transform duration-200" />
2424
</Link>
2525
</div>
2626
</div>

0 commit comments

Comments
 (0)