Skip to content

Commit

Permalink
🔎 Add title for Jupyter Notebook badge (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
agoose77 authored Jul 25, 2024
1 parent efdbf1d commit 2778ea6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/kind-glasses-fix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@myst-theme/frontmatter': patch
---

Add a tooltip for the Jupyter Notebook icon
7 changes: 6 additions & 1 deletion packages/frontmatter/src/FrontmatterBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,12 @@ export function FrontmatterBlock({
<GitHubLink github={github} />
{isJupyter && (
<div className="inline-block mr-1">
<JupyterIcon width="1.25rem" height="1.25rem" className="inline-block" />
<JupyterIcon
width="1.25rem"
height="1.25rem"
className="inline-block"
title="Jupyter Notebook"
/>
</div>
)}
</>
Expand Down

0 comments on commit 2778ea6

Please sign in to comment.