Skip to content

Build your personal knowledge base with Trilium Notes

sync status widget fix

zadam0de0b6fd06aa
diff --git a/src/public/app/widgets/sync_status.js b/src/public/app/widgets/sync_status.js
index f80cb9a326..5b52c447c8 100644
--- a/src/public/app/widgets/sync_status.js
+++ b/src/public/app/widgets/sync_status.js
@@ -4,7 +4,7 @@ import options from "../services/options.js";
import syncService from "../services/sync.js";
const TPL = `
-<div class="sync-status-widget icon-action">
+<div class="sync-status-widget launcher-button">
<style>
.sync-status-widget {
}
diff --git a/src/services/special_notes.js b/src/services/special_notes.js
index d5c2f5dd24..f359903d6b 100644
--- a/src/services/special_notes.js
+++ b/src/services/special_notes.js
@@ -227,7 +227,9 @@ function resetLauncher(noteId) {
* created just to fill this user hole.
*
* Another use case would be for script-packages (of which only few exists) which could this way register automatically
- * into the launchbar. For such use cases this might be a usable replacement, but I'm not yet clear on that.
+ * into the launchbar. For such use cases this might be a usable replacement, but it should look a bit differently:
+ * - launcher should be added into the available shortcuts, not visible. Part of the reasoning is that adding them to visible
+ * could mess up the layout - e.g. the sync status being below.
*/
function createOrUpdateScriptLauncherFromApi(opts) {
const launcherId = opts.id || ("tb" + opts.title.replace(/[^[a-z0-9]/gi, ""));