From 8a5a923c93c7ef2a2f72ded54b5e44265d130c92 Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Mon, 30 Sep 2024 20:54:22 +0530 Subject: [PATCH] [web] Update docs after verifying the behaviour Indeed, it seems like the default is not a hand pointer, and MUI has customized its button, so we need to replicate that behaviour if we directly use HTML buttons. Ref: - https://ux.stackexchange.com/questions/3788/default-cursor-on-mouse-over-of-a-button-is-not-a-hand-pointer --- web/packages/new/photos/components/mui-custom.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/packages/new/photos/components/mui-custom.tsx b/web/packages/new/photos/components/mui-custom.tsx index 10ab3fdba6..0b1e9cc52e 100644 --- a/web/packages/new/photos/components/mui-custom.tsx +++ b/web/packages/new/photos/components/mui-custom.tsx @@ -38,7 +38,7 @@ export const UnstyledButton = styled("button")` inherit that customization also. */ letter-spacing: inherit; - /* The button default is to show an flipped arrow. Show a hand instead. */ + /* Default cursor on mouse over of a button is not a hand pointer */ cursor: pointer; `;