commit 26fd15ea28a2ba13f4473fa51addfef03d566097 parent 9612f8f0b6ea2726e8886eaaec4db9f111648276 Author: MTRNord <mtrnord1@gmail.com> Date: Mon, 31 Jan 2022 16:59:41 +0100 Add some details to the edit hovering Diffstat:
| M | pages/profile/[userid].tsx | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pages/profile/[userid].tsx b/pages/profile/[userid].tsx @@ -222,7 +222,7 @@ class Profile extends PureComponent<Props, State> { ( avatar_url ? ( <> - <label htmlFor="avatar-upload" className="rounded-md flex justify-center items-center cursor-pointer" style={{ height: "100px", width: "100px" }}> + <label htmlFor="avatar-upload" className="rounded-md flex justify-center items-center cursor-pointer hover:grayscale" style={{ height: "100px", width: "100px" }}> <img className="block object-cover rounded-md" src={this.context.client.downloadLink(avatar_url)!} height="100" width="100" alt={displayname} title={displayname} /> <div className="min-h-[48px] min-w-[48px] absolute left-[20%] rounded-full bg-slate-700/40 p-1 flex justify-center items-center"><EditIcon /></div> </label>