Skip to content

refactor: tooltips #1185

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 13 additions & 17 deletions src/routes/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,18 +173,16 @@ export const SettingsRoute: FC = () => {
}
tooltip={
<div>
<div className="pb-3">
See
<button
type="button"
className="text-blue-500 mx-1"
title="Open GitHub documentation for participating and watching notifications"
onClick={openGitHubParticipatingDocs}
>
official docs
</button>
for more details.
</div>
See
<button
type="button"
className="text-blue-500 mx-1"
title="Open GitHub documentation for participating and watching notifications"
onClick={openGitHubParticipatingDocs}
>
official docs
</button>
for more details.
</div>
}
/>
Expand Down Expand Up @@ -227,11 +225,9 @@ export const SettingsRoute: FC = () => {
}
tooltip={
<div>
<div className="pb-3">
Keep the notification within Gitify window upon interaction
(click, mark as read, mark as done, etc) until the next
refresh window (scheduled or user initiated)
</div>
Keep the notification within Gitify window upon interaction
(click, mark as read, mark as done, etc) until the next refresh
window (scheduled or user initiated)
</div>
}
/>
Expand Down