Skip to content

Build your personal knowledge base with Trilium Notes

using space-around instead of space-evenly for tree actions because that one is supported in Chrome 59 used in electron

azivnerd025b2b3fbea
diff --git a/routes/api/login.js b/routes/api/login.js
index 2efb9cf46a..69b242f83c 100644
--- a/routes/api/login.js
+++ b/routes/api/login.js
@@ -13,8 +13,6 @@ const app_info = require('../../services/app_info');
router.post('/sync', async (req, res, next) => {
const timestampStr = req.body.timestamp;
- console.log(req.body);
-
const timestamp = utils.parseDate(timestampStr);
const now = new Date();
diff --git a/views/index.ejs b/views/index.ejs
index 05413d13c3..902ed134dd 100644
--- a/views/index.ejs
+++ b/views/index.ejs
@@ -34,7 +34,7 @@
</div>
<div class="hide-toggle" style="grid-area: tree-actions;">
- <div style="display: flex; justify-content: space-evenly; padding: 10px 0 10px 0; margin: 0 20px 0 20px; border: 1px solid #ccc;">
+ <div style="display: flex; justify-content: space-around; padding: 10px 0 10px 0; margin: 0 20px 0 20px; border: 1px solid #ccc;">
<a onclick="noteTree.createNewTopLevelNote()" title="Create new top level note" class="icon-action">
<img src="images/icons/file-plus.png" alt="Create new top level note"/>
</a>