Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: add tooltip to icon buttons
Steven4f10198ec07d
diff --git a/web/src/pages/MemoDetail.tsx b/web/src/pages/MemoDetail.tsxindex 4982a5bfd..2c1d9d4ed 100644--- a/web/src/pages/MemoDetail.tsx+++ b/web/src/pages/MemoDetail.tsx@@ -124,16 +124,22 @@ const MemoDetail = () => {</div><div className="flex flex-row sm:justify-end items-center">{allowEdit && (- <IconButton size="sm" onClick={handleEditMemoClick}>- <Icon.Edit3 className="w-4 h-auto text-gray-600 dark:text-gray-400" />- </IconButton>+ <Tooltip title={"Edit"} placement="top">+ <IconButton size="sm" onClick={handleEditMemoClick}>+ <Icon.Edit3 className="w-4 h-auto text-gray-600 dark:text-gray-400" />+ </IconButton>+ </Tooltip>)}- <IconButton size="sm" onClick={handleCopyLinkBtnClick}>- <Icon.Link className="w-4 h-auto text-gray-600 dark:text-gray-400" />- </IconButton>- <IconButton size="sm" onClick={() => showShareMemoDialog(memo)}>- <Icon.Share className="w-4 h-auto text-gray-600 dark:text-gray-400" />- </IconButton>+ <Tooltip title={"Copy link"} placement="top">+ <IconButton size="sm" onClick={handleCopyLinkBtnClick}>+ <Icon.Link className="w-4 h-auto text-gray-600 dark:text-gray-400" />+ </IconButton>+ </Tooltip>+ <Tooltip title={"Share"} placement="top">+ <IconButton size="sm" onClick={() => showShareMemoDialog(memo)}>+ <Icon.Share className="w-4 h-auto text-gray-600 dark:text-gray-400" />+ </IconButton>+ </Tooltip></div></div></div>