From a79b1e80d8bb558903e9504db2640801c58ff9af Mon Sep 17 00:00:00 2001 From: Steven Date: Fri, 10 May 2024 07:02:31 +0800 Subject: [PATCH] chore: add tooltip to buttons --- .../web/src/components/CollectionView.tsx | 20 +++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/frontend/web/src/components/CollectionView.tsx b/frontend/web/src/components/CollectionView.tsx index c6cce5a..cf36f6b 100644 --- a/frontend/web/src/components/CollectionView.tsx +++ b/frontend/web/src/components/CollectionView.tsx @@ -1,3 +1,4 @@ +import { Tooltip } from "@mui/joy"; import classNames from "classnames"; import copy from "copy-to-clipboard"; import { useState } from "react"; @@ -75,12 +76,19 @@ const CollectionView = (props: Props) => {

{collection.description}

- - - - + + + + + + + + {showAdminActions && (