Skip to content

Build your personal knowledge base with Trilium Notes

rename saveCroppedScreenshot

zadam9ac8bc28ede8
diff --git a/background.js b/background.js
index 88f75fe69f..ade9e94768 100644
--- a/background.js
+++ b/background.js
@@ -6,7 +6,7 @@ chrome.commands.onCommand.addListener(async function (command) {
await saveWholePage();
} else if (command == "saveTabs") {
await saveTabs();
- } else if (command == "saveScreenshot") {
+ } else if (command == "saveCroppedScreenshot") {
const activeTab = await getActiveTab();
await saveCroppedScreenshot(activeTab.url);
diff --git a/content.js b/content.js
index 64015fae45..7bda9b9403 100644
--- a/content.js
+++ b/content.js
@@ -228,7 +228,7 @@ async function prepareMessageResponse(message) {
if (message.noteId) {
messageText = document.createElement('p');
- messageText.setAttribute("style", "padding: 0; margin: 0")
+ messageText.setAttribute("style", "padding: 0; margin: 0; font-size: larger;")
messageText.appendChild(document.createTextNode(message.message + " "));
messageText.appendChild(createLink(
{name: 'openNoteInTrilium', noteId: message.noteId},
@@ -253,7 +253,7 @@ async function prepareMessageResponse(message) {
showToast(messageText, {
settings: {
- duration: 5000
+ duration: 7000
}
});
}