Make buttons use pointer cursor

This commit is contained in:
2026-01-30 11:45:42 +01:00
parent 233f63f18e
commit 4e3a5ef682
6 changed files with 69 additions and 12 deletions
+7 -1
View File
@@ -142,7 +142,13 @@ def Button(
):
return Component(
template="cotton/button.html",
attributes=attributes + [("size", size), ("icon", icon), ("color", color)],
attributes=attributes
+ [
("size", size),
("icon", icon),
("color", color),
("class", "hover:cursor-pointer"),
],
children=children,
)