diff --git a/apps/client/src/services/note_tooltip.ts b/apps/client/src/services/note_tooltip.ts index d83ad3afa..fd8a577b9 100644 --- a/apps/client/src/services/note_tooltip.ts +++ b/apps/client/src/services/note_tooltip.ts @@ -168,7 +168,10 @@ async function renderTooltip(note: FNote | null) { if (isContentEmpty) { classes.push("note-no-content"); } - content = `
${noteTitleWithPathAsSuffix.prop("outerHTML")}
`; + content = `\ +
+ ${noteTitleWithPathAsSuffix.prop("outerHTML")} +
`; } content = `${content}
${$renderedAttributes[0].outerHTML}
`; @@ -176,6 +179,7 @@ async function renderTooltip(note: FNote | null) { content += $renderedContent[0].outerHTML; } + content += ``; return content; } diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css index 54b9f074e..60e4856f7 100644 --- a/apps/client/src/stylesheets/style.css +++ b/apps/client/src/stylesheets/style.css @@ -771,6 +771,14 @@ table.promoted-attributes-in-tooltip th { font-size: small; } +.note-tooltip-content .open-popup-button { + position: absolute; + right: 15px; + bottom: 8px; + font-size: 1.2em; + color: inherit; +} + .note-tooltip-attributes { display: -webkit-box; -webkit-box-orient: vertical; diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json index 6d0c0a3db..4c78d6d29 100644 --- a/apps/client/src/translations/en/translation.json +++ b/apps/client/src/translations/en/translation.json @@ -1854,7 +1854,8 @@ "full-text-search": "Full text search" }, "note_tooltip": { - "note-has-been-deleted": "Note has been deleted." + "note-has-been-deleted": "Note has been deleted.", + "quick-edit": "Quick edit" }, "geo-map": { "create-child-note-title": "Create a new child note and add it to the map",