Skip to content

Commit

Permalink
chore: add tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
lajbel committed Nov 5, 2024
1 parent e841d9f commit c9c31b0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/About/AboutDialog.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import kaplaygroundLogo from "../../assets/kaplayground.png";
import { CHANGELOG, REPO, VERSION } from "../../config/common";
import { REPO, VERSION } from "../../config/common";

export const AboutDialog = () => {
return (
Expand Down
6 changes: 6 additions & 0 deletions src/components/Toolbar/ProjectStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ const ProjectStatus = () => {
<button
className="btn btn-ghost btn-xs rounded-sm px-1"
onClick={handleEditName}
data-tooltip-id="global"
data-tooltip-html={`Edit name`}
data-tooltip-place="bottom-end"
>
<img
src={assets.pointer.outlined}
Expand All @@ -49,6 +52,9 @@ const ProjectStatus = () => {
<button
className="btn btn-ghost btn-xs rounded-sm px-1"
onClick={handleSaveProject}
data-tooltip-id="global"
data-tooltip-html={`Save project`}
data-tooltip-place="bottom-end"
>
<img
src={assets.save.outlined}
Expand Down

0 comments on commit c9c31b0

Please sign in to comment.