1
1
Fork 0
mirror of https://github.com/zadam/trilium.git synced 2025-02-19 20:44:03 +08:00

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

This commit is contained in:
azivner 2017-12-10 21:46:12 -05:00
parent 8a3ea412f9
commit d025b2b3fb
2 changed files with 1 additions and 3 deletions
routes/api
views

View file

@ -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();

View file

@ -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>