Skip to content

Commit

Permalink
0.5.17
Browse files Browse the repository at this point in the history
Fix callout icons for long documents
  • Loading branch information
alangrainger committed Oct 13, 2023
1 parent f56d9ba commit 1337a2c
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "share-note",
"name": "Share Note",
"version": "0.5.16",
"version": "0.5.17",
"minAppVersion": "0.15.0",
"description": "Instantly share a note, with the full theme and content exactly like you see in Reading View. Data is shared encrypted by default, and only you and the person you send it to have the key.",
"author": "Alan Grainger",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "share-note",
"version": "0.5.16",
"version": "0.5.17",
"description": "Instantly share a note, with the full theme and content exactly like you see in Reading View. Data is shared encrypted by default, and only you and the person you send it to have the key.",
"main": "main.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion src/note.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ export default class Note {
// Replace the existing icon so we:
// a) don't get double-ups, and
// b) have a consistent style
const svgEl = el.querySelector('svg.svg-icon')
const iconEl = el.querySelector('div.callout-icon')
const svgEl = iconEl?.querySelector('svg')
if (svgEl) {
svgEl.outerHTML = `<svg width="16" height="16" data-share-note-lucide="${icon.slice(7)}"></svg>`
}
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@
"0.5.13": "0.15.0",
"0.5.14": "0.15.0",
"0.5.15": "0.15.0",
"0.5.16": "0.15.0"
"0.5.16": "0.15.0",
"0.5.17": "0.15.0"
}

0 comments on commit 1337a2c

Please sign in to comment.